about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-06-02 05:12:51 +0000
committerbors <bors@rust-lang.org>2015-06-02 05:12:51 +0000
commitf14190199cdbcd508e0ac28e8c62c61dea404230 (patch)
tree097748ed50456fb8ca87aea0295cb182655ec241 /src/rustllvm/RustWrapper.cpp
parentf813f9779722d3670bbfbd0a352b64fe4ae9ddbb (diff)
parentb8c59211edfd9223797bfc77b6df480f242496cb (diff)
downloadrust-f14190199cdbcd508e0ac28e8c62c61dea404230.tar.gz
rust-f14190199cdbcd508e0ac28e8c62c61dea404230.zip
Auto merge of #25848 - alexcrichton:fix-msvc, r=brson
Now that MSVC support has landed in the most recent nightlies we can now have
MSVC bootstrap itself without going through a GNU compiler first. Unfortunately,
however, the bootstrap currently fails due to the compiler not being able to
find the llvm-ar.exe tool during the stage0 libcore compile. The compiler cannot
find this tool because it's looking inside a directory that does not exist:

    $SYSROOT/rustlib/x86_64-pc-windows-gnu/bin

The `gnu` on this triple is because the bootstrap compiler's host architecture
is GNU. The build system, however, only arranges for the llvm-ar.exe tool to be
available in this location:

    $SYSROOT/rustlib/x86_64-pc-windows-msvc/bin

To resolve this discrepancy, the build system has been modified to understand
triples that are bootstrapped from another triple, and in this case copy the
native tools to the right location.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions