diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2017-09-18 17:37:57 +0200 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2017-09-23 13:00:25 +0200 |
| commit | 9eeaba18bd31e63c5ae576ea6c7b88cfd50fcb60 (patch) | |
| tree | 76aead81d2b8472212f381b48572fab2d75754f2 /src/bootstrap/builder.rs | |
| parent | 44c184382fda86692d61e4042d5ccecc83c43e90 (diff) | |
| download | rust-9eeaba18bd31e63c5ae576ea6c7b88cfd50fcb60.tar.gz rust-9eeaba18bd31e63c5ae576ea6c7b88cfd50fcb60.zip | |
Move NoLlvmMetadataLoader to rustc_trans_traits
Diffstat (limited to 'src/bootstrap/builder.rs')
| -rw-r--r-- | src/bootstrap/builder.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/bootstrap/builder.rs b/src/bootstrap/builder.rs index 99712d9fcab..8307a536c33 100644 --- a/src/bootstrap/builder.rs +++ b/src/bootstrap/builder.rs @@ -531,6 +531,9 @@ impl<'a> Builder<'a> { // For other crates, however, we know that we've already got a standard // library up and running, so we can use the normal compiler to compile // build scripts in that situation. + // + // If LLVM support is disabled we need to use the snapshot compiler to compile + // build scripts, as the new compiler doesnt support executables. if mode == Mode::Libstd || !self.build.config.llvm_enabled { cargo.env("RUSTC_SNAPSHOT", &self.initial_rustc) .env("RUSTC_SNAPSHOT_LIBDIR", self.rustc_snapshot_libdir()); |
