Browse Source
The parameter is forwarded to Cargo to handle re-compiling the standard
library. This is required when targetting tier 3 targets like
aarch64-apple-tvos, where the standard library is not shipped with the
compiler binaries.
Initial design used --with-cargo-build-std which only triggered rebuild
of the std in cargo, but this new design for the option allows more
specification about what needs to be built, can be extended to support
--extern crate later when the std makes it easy to do so, and I felt it
was clearer to read the option, though finding it is a bit less easy.
Example:
--with-rust-std=build-std=std,panic_abort
pull/169/head
committed by
Felix Paul Kühne
2 changed files with 11 additions and 1 deletions
Loading…
Reference in new issue