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 sysroot contains spaces #32

Closed phil-opp closed 5 years ago

phil-opp commented 5 years ago

A sysroot with spaces does not work because of https://github.com/rust-lang/cargo/issues/6139. This PR adds a special error message for this case to prevent confusion. The error can be overridden by setting the XBULD_ALLOW_SYSROOT_SPACES environment variable.