Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upMore precise identification of Redox target #170
Conversation
This comment has been minimized.
This comment has been minimized.
|
Either this, or a change adding "redox" to https://github.com/rust-lang/rust/blob/master/src/librustc/session/config.rs#L959 need to be done to fix building on Redox. I would prefer not to modify the compiler :-/ |
This comment has been minimized.
This comment has been minimized.
eddyb
commented
Nov 10, 2016
|
It's surprising to me that redox doesn't behave like other unices here. Should be at least documented. |
This comment has been minimized.
This comment has been minimized.
|
@eddyb Redox is not a Unix. It is Unix-like in the sense that it has very similar system calls, a similar filesystem, and similar methodology but it does not include a POSIX compatible C library - all system calls are accessed from a Rust crate called |
This comment has been minimized.
This comment has been minimized.
eddyb
commented
Nov 10, 2016
|
Interesting - would |
This comment has been minimized.
This comment has been minimized.
|
Yes, I believe so. I have not found the cleanest way to do this yet, but would love to have input into it. I am building a Redox At the moment, I am exporting redox_syscall from a custom |
jackpot51 commentedNov 9, 2016
This is a minor change to match the way that the
libcandrandcrates now have checking for Redox. It is more accurate than checking forcfg(redox).