cbindgen generates incorrect headers for Redox
cbindgen
doesn't seem to be smart enough to be able to handle #[cfg(target_os = "XYZ")]
attributes on Rust modules. By the result of this it exports the Linux-specific functions and constants into the Redox headers and this could cause problems with feature detection in Autotools. Something needs to be done about this either in relibc
or cbindgen
.
Affected headers: