Open polyproline opened 3 years ago
We don't pass RUSTFLAGS when building core
and the other sysroot crates because we need to set our own RUSTFLAGS. If your project works with cargo's build-std
feature, I recommend using that instead of cargo-xbuild
.
When I build a Kernel Os with some crates ,it happend. Then I tried to give RUSTFLAGS and rebuilded those crates, also failed. But when I used .cargo/config.toml ,set build-std and env RUSTFLAGS then it did well Is cargo-xbuild question or have another resolution I don`t find?