{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreie7lzggxordvhs637dk3y6q6z4iobxgaeutzpyrywvtll2zhfzi3a",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mnfipdnqkok2"
},
"path": "/t/race-semantic-linker-approach-to-stable-cross-crate-abi-without-runtime-overhead/24369#post_5",
"publishedAt": "2026-06-03T13:59:40.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "The BTF parallel is apt - CO-RE (Compile Once, Run Everywhere) in BPF solves a similar relocation problem with type metadata, and it works well in practice. Explicit opt-in marking is a compelling constraint - it would directly address the const expression concern raised above, since only explicitly marked types would participate in layout deferral. This could be the right shape for a minimal first version",
"title": "RACE: Semantic-linker approach to stable cross-crate ABI without runtime overhead"
}