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?