Conversation
|
I'm not able to identify why this doesn't work in the CI, did you investigate using cfg-aliases? #9559 |
|
Did some further research, its failing because the #[cfg(...)] attribute evaluates based on the host machine (where the build script runs), not the target machine. This should work: I would love to do something similar for all of the BSD os's, it would make stty much cleaner and easier to read |
|
Actually two issues here, the cross compilation and that this will only set that config for the parent crate and you would need this in a build.rs for every crate to do this. How about adding this to the Cargo.toml instead? |
|
Actually that Cargo.toml rustflags is not ideal either since it wont work for anyone that wants to use any of the utilities as a dependency. Not really any great options here. |
|
probably why we haven't done it before :) |
|
|
|
I know the name |
|
|
That's what |
|
Other suggestions, |
Might be worth considering that Android might not always use a linux kernel. For example, a future release of Android might be based on So |
|
I'm leaning toward |
No description provided.