Skip to content

Commit 2e52f4d

Browse files
committed
bootstrap: use RUSTC_BOOTSTRAP to vendor sources
1 parent 6a35896 commit 2e52f4d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bootstrap/dist.rs

+3
Original file line numberDiff line numberDiff line change
@@ -1013,6 +1013,9 @@ impl Step for PlainSourceTarball {
10131013
.arg(builder.src.join("./compiler/rustc_codegen_cranelift/Cargo.toml"))
10141014
.arg("--sync")
10151015
.arg(builder.src.join("./src/bootstrap/Cargo.toml"))
1016+
// Will read the libstd Cargo.toml
1017+
// which uses the unstable `public-dependency` feature.
1018+
.env("RUSTC_BOOTSTRAP", "1")
10161019
.current_dir(&plain_dst_src);
10171020

10181021
let config = if !builder.config.dry_run() {

0 commit comments

Comments
 (0)