diff options
| author | bors <bors@rust-lang.org> | 2020-07-17 03:51:35 +0000 | 
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-07-17 03:51:35 +0000 | 
| commit | 86c0b85da98a3c69e0fc9014e36e1c88bd3ae8d7 (patch) | |
| tree | c3752892cdc43bf31324ebea11371fa503981bd4 /src/bootstrap/compile.rs | |
| parent | 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e (diff) | |
| parent | 8321b3fbe44b1edc9b6d012daeaf46ae2b6bc3c8 (diff) | |
| download | rust-86c0b85da98a3c69e0fc9014e36e1c88bd3ae8d7.tar.gz rust-86c0b85da98a3c69e0fc9014e36e1c88bd3ae8d7.zip  | |
Auto merge of #74395 - Mark-Simulacrum:stage0-next, r=pietroalbini
Bump version to 1.47 This also bumps to a more recent rustfmt version, just to keep us relatively up to date (though almost nothing has changed in rustfmt we use beyond bumps to the parser infra). No formatting changes as a result of this. r? @pietroalbini
Diffstat (limited to 'src/bootstrap/compile.rs')
| -rw-r--r-- | src/bootstrap/compile.rs | 8 | 
1 files changed, 1 insertions, 7 deletions
diff --git a/src/bootstrap/compile.rs b/src/bootstrap/compile.rs index 9b4926f28d4..68a3f369d16 100644 --- a/src/bootstrap/compile.rs +++ b/src/bootstrap/compile.rs @@ -159,13 +159,7 @@ fn copy_self_contained_objects( compiler: &Compiler, target: Interned<String>, ) -> Vec<(PathBuf, DependencyType)> { - // cfg(bootstrap) - // Remove when upgrading bootstrap compiler. - let libdir_self_contained = if compiler.stage == 0 { - builder.sysroot_libdir(*compiler, target).to_path_buf() - } else { - builder.sysroot_libdir(*compiler, target).join("self-contained") - }; + let libdir_self_contained = builder.sysroot_libdir(*compiler, target).join("self-contained"); t!(fs::create_dir_all(&libdir_self_contained)); let mut target_deps = vec![];  | 
