libstd requires explicit version of rand crate #62308
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Most everything else in the rustc repo that needs the rand crate is specifying "0.6" for the version, while libstd has "0.6.1" in its Cargo.toml. Unfortunately, this prevented rust from building on illumos systems without manually patching the rand crate (and is a blocker for #55553) in ~/.cargo/.... (without patching, anything using the rand functions will crash with an illegal system call error). The rand crate itself was fixed in Feb, but the libstd dependency on 0.6.1 prevents any fixed version from being used.
It seems likely there must have been a reason to not rely on semver like all the other components, but it's not obvious what it was/if it's still relevant, so it's not clear if merely updating libstd's Cargo.toml to "0.6" is sufficient, or if something more is required.
The text was updated successfully, but these errors were encountered: