Description
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.