Skip to content

Commit 64cfc21

Browse files
committed
bootstrap: use RUSTC_BOOTSTRAP in distcheck
1 parent 5fb752b commit 64cfc21

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/bootstrap/test.rs

+3
Original file line numberDiff line numberDiff line change
@@ -2514,6 +2514,9 @@ impl Step for Distcheck {
25142514
let toml = dir.join("rust-src/lib/rustlib/src/rust/library/std/Cargo.toml");
25152515
builder.run(
25162516
Command::new(&builder.initial_cargo)
2517+
// Will read the libstd Cargo.toml
2518+
// which uses the unstable `public-dependency` feature.
2519+
.env("RUSTC_BOOTSTRAP", "1")
25172520
.arg("generate-lockfile")
25182521
.arg("--manifest-path")
25192522
.arg(&toml)

0 commit comments

Comments
 (0)