[Bug 1942394] Re: [MIR] mdevctl 1.0.0 (rust switch)
Christian Ehrhardt
1942394 at bugs.launchpad.net
Tue Sep 7 09:58:43 UTC 2021
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
Package Archive Administrators, which is subscribed to the bug report.
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
More information about the ubuntu-archive
mailing list