Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

User Extern not arbitrary Rust crates

Platform spec ADR

User Extern not arbitrary Rust crates

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Linking arbitrary rlib targets as user Extern would imply unstable Rust ABI across toolchains.

This profile is not a promise that arbitrary Rust crates can be user Extern targets without shims. User-authored foreign code on the supported path must remain C ABI profile until a future specification promotes additional Rust-native interop.

Embedding docs steer authors to C contracts + shims for Rust libraries.

/platform-spec/language-meta/interop/rust-abi-profile/ and FFI and extern.