{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreigljymdfyukwxoixiemwtihxiwcu4r63mrw27gjvs5yxddv5x7njy",
"uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3miuv224jpad2"
},
"path": "/t/pre-pre-rfc-dynamic-library-proposal/24135#post_5",
"publishedAt": "2026-04-06T07:37:20.000Z",
"site": "https://internals.rust-lang.org",
"textContent": "LouChiSoft:\n\n> Not sure I follow, if the compiler has the ABI of Foo in the `.rimport` file and it also has the ABI of the struct at the callsite then surely it could compare the two and error out if they don't match?\n\nSure, but then changing the internal representation of a type becomes a breaking change. Linking to a dynamic library would become a matter of using the correct compiler version and dependencies versions, and linking to multiple dynamic libraries at the same time could be impossible due to conflicting requirements.\n\nps: I suggest you to use the native quote feature instead of `>`, that way the quoted people will see a notification.",
"title": "[Pre-Pre-RFC] Dynamic library proposal"
}