Add rustc-dep-of-std feature#78
Conversation
This is how `libc` and `hashbrown` support being dependancies of `libstd`. This allows `getrandom` to use `core` normally, and use the sysroot `core` when building `libstd`.
|
You probably also should remove uses of I am not familiar with the details of how |
Done
I know we need at least this to properly use the |
|
I can confirm that for building as part of the standard library the |
|
This should be ready for merging, I updated the Redox comment to better explain the issue in #79. I also confirmed that this PR + #58 + a modified version of @newpavlov's rust-lang/rust#62082 is now enough to bootstrap EDIT: I should also note that this does not depend on #58 |
This is how
libcandhashbrownsupport being dependancies oflibstd.This allows
getrandomto usecorenormally, and use the sysrootcorewhen building
libstd.This PR and #58 should be enough to get rust-lang/rust#62082 building without errors.