refactor(bootstrap/core/build_steps/dist): vendor dependencies needed for opt-dist

This commit is contained in:
Bernardo Meurer Costa 2024-05-15 20:58:19 +00:00
parent 4550fb52d1
commit e253718ce4

View File

@ -1032,6 +1032,10 @@ impl Step for PlainSourceTarball {
.arg(builder.src.join("./compiler/rustc_codegen_gcc/Cargo.toml"))
.arg("--sync")
.arg(builder.src.join("./src/bootstrap/Cargo.toml"))
.arg("--sync")
.arg(builder.src.join("./src/tools/opt-dist/Cargo.toml"))
.arg("--sync")
.arg(builder.src.join("./src/tools/rustc-perf/Cargo.toml"))
// Will read the libstd Cargo.toml
// which uses the unstable `public-dependency` feature.
.env("RUSTC_BOOTSTRAP", "1")