diff options
| author | Michael Howell <michael@notriddle.com> | 2023-05-15 22:28:08 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-05-25 08:15:05 -0700 |
| commit | 2e52f4deb0544480b6aefe2c0cc1e6f3c893b081 (patch) | |
| tree | 767ce0f25dfcd6b33d58696e64e587cdb8c5d286 | |
| parent | 6a358960da438efca794020bf5497b41ce3ffe17 (diff) | |
| download | rust-2e52f4deb0544480b6aefe2c0cc1e6f3c893b081.tar.gz rust-2e52f4deb0544480b6aefe2c0cc1e6f3c893b081.zip | |
bootstrap: use RUSTC_BOOTSTRAP to vendor sources
| -rw-r--r-- | src/bootstrap/dist.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap/dist.rs b/src/bootstrap/dist.rs index b49845386da..338667de03a 100644 --- a/src/bootstrap/dist.rs +++ b/src/bootstrap/dist.rs @@ -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() { |
