diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2016-02-24 19:04:35 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2016-02-28 10:50:13 -0800 |
| commit | 5abcc78ff8baf881a8e87c3fe6f188333bf0eda1 (patch) | |
| tree | b08ba239b96515adb041f550d8260d0a9336640e /src/bootstrap | |
| parent | ed3d46d278a324b6d2c8740a965224b6d4075c11 (diff) | |
| download | rust-5abcc78ff8baf881a8e87c3fe6f188333bf0eda1.tar.gz rust-5abcc78ff8baf881a8e87c3fe6f188333bf0eda1.zip | |
rustbuild: Compile with the build compiler
This switches the defaults to ensure that everything is built with the build compiler rather than the host compiler itself (which we're not guaranteed to be able to run)
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/build/step.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/build/step.rs b/src/bootstrap/build/step.rs index d97bc064c98..acbfdca0b6d 100644 --- a/src/bootstrap/build/step.rs +++ b/src/bootstrap/build/step.rs @@ -93,13 +93,13 @@ fn top_level(build: &Build) -> Vec<Step> { continue } let host = t.target(host); - targets.push(host.librustc(stage, host.compiler(stage))); + targets.push(host.librustc(stage, t.compiler(stage))); for target in build.config.target.iter() { if !build.flags.target.contains(target) { continue } targets.push(host.target(target) - .libstd(stage, host.compiler(stage))); + .libstd(stage, t.compiler(stage))); } } } |
