diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2020-07-16 09:12:59 -0400 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2020-07-16 19:36:49 -0400 |
| commit | 647d9b525fcda07695809b851b4d6bce05b34e61 (patch) | |
| tree | 843258ffe5efd9a1fa9edeade00e172785aaa4e9 /src/bootstrap | |
| parent | 6c50ae898b259ba2b4f730ed2e40d9efa3db221b (diff) | |
apply bootstrap cfgs
Diffstat (limited to 'src/bootstrap')
| -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![]; |
