FYI (mostly a note to myself I guess) about dynamic rust: Along the way in I found that rust seems to have dynamic libraries - see "dylib/cdylib" in [2]. [1] shows -C prefer-dynamic target-feature=-crt-static" which could be our usual build style for a distro making dependencies and code-resuage through dynamic libs "normal".
But before I could cheer I found that: - One argument against it that I found is that two dynamic libs that use the same (static) rlib can not work together. So it would have to be make all or nothing dynamic. (That would be ok I guess) - Another I've quckly found is that ABI isn't fixed and thereby a compiler change between a rebuild of either component could break things. (This breaks the camels back) [1]: https://rust-lang.github.io/rfcs/0404-change-prefer-dynamic.html [2]: https://doc.rust-lang.org/reference/linkage.html -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1942394 Title: [MIR] mdevctl 1.0.0 (rust switch) To manage notifications about this bug go to: https://bugs.launchpad.net/mdevctl/+bug/1942394/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs