|
14 | 14 |
|
15 | 15 | #![deny(warnings)] |
16 | 16 |
|
17 | | -extern crate run_make_support; |
18 | | - |
19 | 17 | use run_make_support::object; |
20 | 18 | use run_make_support::object::read::archive::ArchiveFile; |
21 | 19 | use run_make_support::object::read::Object; |
@@ -51,22 +49,22 @@ fn main() { |
51 | 49 | let bootstrap_cargo = std::env::var("BOOTSTRAP_CARGO").unwrap(); |
52 | 50 | let mut cmd = std::process::Command::new(bootstrap_cargo); |
53 | 51 | cmd.args([ |
54 | | - "build", |
55 | | - "--manifest-path", |
56 | | - manifest_path.to_str().unwrap(), |
57 | | - "-Zbuild-std=core", |
58 | | - "--target", |
59 | | - &target, |
60 | | - ]) |
61 | | - .env_clear() |
62 | | - .env("PATH", path) |
63 | | - .env("RUSTC", rustc) |
64 | | - .env("RUSTFLAGS", "-Copt-level=0 -Cdebug-assertions=yes") |
65 | | - .env("CARGO_TARGET_DIR", &target_dir) |
66 | | - .env("RUSTC_BOOTSTRAP", "1") |
67 | | - // Visual Studio 2022 requires that the LIB env var be set so it can |
68 | | - // find the Windows SDK. |
69 | | - .env("LIB", std::env::var("LIB").unwrap_or_default()); |
| 52 | + "build", |
| 53 | + "--manifest-path", |
| 54 | + manifest_path.to_str().unwrap(), |
| 55 | + "-Zbuild-std=core", |
| 56 | + "--target", |
| 57 | + &target, |
| 58 | + ]) |
| 59 | + .env_clear() |
| 60 | + .env("PATH", path) |
| 61 | + .env("RUSTC", rustc) |
| 62 | + .env("RUSTFLAGS", "-Copt-level=0 -Cdebug-assertions=yes") |
| 63 | + .env("CARGO_TARGET_DIR", &target_dir) |
| 64 | + .env("RUSTC_BOOTSTRAP", "1") |
| 65 | + // Visual Studio 2022 requires that the LIB env var be set so it can |
| 66 | + // find the Windows SDK. |
| 67 | + .env("LIB", std::env::var("LIB").unwrap_or_default()); |
70 | 68 | set_host_rpath(&mut cmd); |
71 | 69 |
|
72 | 70 | let status = cmd.status().unwrap(); |
|
0 commit comments