Description
This issue is for working through the implementation issues with locked dependencies.
It is almost certain that the standard library will need to be built with the exact same dependencies used in the release. That is, dependencies like libc
will not be allowed to "float" to the most recent release. All dependencies will also be built separately from the user's project, so if the user has a dependency on libc
, it will be built separately from the libc
for the standard library (which may be the same or different version). Metadata tricks are used to link these properly.
The rust-src
rustup component includes the standard library sources, but does not include dependencies. It includes the Cargo.lock
file, from which we can infer the dependency versions.
I'm not certain at this time what problems this might present.