diff options
| author | Mark Simulacrum <mark.simulacrum@gmail.com> | 2017-07-12 09:15:00 -0600 |
|---|---|---|
| committer | Mark Simulacrum <mark.simulacrum@gmail.com> | 2017-07-20 11:23:59 -0600 |
| commit | a5ab2ceef8393f94fd1aa07b35bc25f74e9f879f (patch) | |
| tree | a790614bc4921675385157edbac2a3d024b04eb9 /src/bootstrap/lib.rs | |
| parent | c7435b52a93d96c47a84e505f9eb6a505d6037b5 (diff) | |
| download | rust-a5ab2ceef8393f94fd1aa07b35bc25f74e9f879f.tar.gz rust-a5ab2ceef8393f94fd1aa07b35bc25f74e9f879f.zip | |
Fix a few errors introduced during rebase.
Diffstat (limited to 'src/bootstrap/lib.rs')
| -rw-r--r-- | src/bootstrap/lib.rs | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs index d4ef6613a2a..d7f1570ba80 100644 --- a/src/bootstrap/lib.rs +++ b/src/bootstrap/lib.rs @@ -114,6 +114,7 @@ //! also check out the `src/bootstrap/README.md` file for more information. #![deny(warnings)] +#![allow(stable_features)] #![feature(associated_consts)] #![feature(core_intrinsics)] @@ -441,19 +442,6 @@ impl Build { self.out.join(compiler.host).join(format!("stage{}-incremental", compiler.stage)) } - /// Returns the libdir where the standard library and other artifacts are - /// found for a compiler's sysroot. - fn sysroot_libdir(&self, compiler: &Compiler, target: &str) -> PathBuf { - if compiler.stage >= 2 { - if let Some(ref libdir_relative) = self.config.libdir_relative { - return self.sysroot(compiler).join(libdir_relative) - .join("rustlib").join(target).join("lib") - } - } - self.sysroot(compiler).join("lib").join("rustlib") - .join(target).join("lib") - } - /// Returns the root directory for all output generated in a particular /// stage when running with a particular host compiler. /// |
