rust-osdev / cargo-xbuild

Automatically cross-compiles the sysroot crates core, compiler_builtins, and alloc.
Apache License 2.0
258 stars 25 forks source link

Error when trying to build with stable #14

Closed phil-opp closed 5 years ago

phil-opp commented 5 years ago

Previously this only caused a warning and then started a normal cargo build. This buried the helpful warning under lots of "core not found" errors.

This PR throws an error instead and aborts compilation, so that it is obvious what the problem is.

This is technically a breaking change (even if I can't think of any use case that uses cargo xbuild with stable), so we bump the version to 0.5.0.

phil-opp commented 5 years ago

Released an 0.5.0