bootstrap: use RUSTC_BOOTSTRAP to vendor sources
This commit is contained in:
parent
6a358960da
commit
2e52f4deb0
@ -1013,6 +1013,9 @@ impl Step for PlainSourceTarball {
|
||||
.arg(builder.src.join("./compiler/rustc_codegen_cranelift/Cargo.toml"))
|
||||
.arg("--sync")
|
||||
.arg(builder.src.join("./src/bootstrap/Cargo.toml"))
|
||||
// Will read the libstd Cargo.toml
|
||||
// which uses the unstable `public-dependency` feature.
|
||||
.env("RUSTC_BOOTSTRAP", "1")
|
||||
.current_dir(&plain_dst_src);
|
||||
|
||||
let config = if !builder.config.dry_run() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user