about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJed Davis <jld@xlerb.net>2017-09-15 21:14:34 -0600
committerScott Abbey <scottabbey2@gmail.com>2017-12-22 02:34:09 -0600
commitf7a0dffc7870224f87263b4cda81d98b2436d8f0 (patch)
treea81ef3733c3e33cbdcdf98432839bf720ef7d31f /src/rustllvm/RustWrapper.cpp
parentb76f224af867b198e4051806cc6e1ac686085cdc (diff)
downloadrust-f7a0dffc7870224f87263b4cda81d98b2436d8f0.tar.gz
rust-f7a0dffc7870224f87263b4cda81d98b2436d8f0.zip
Re-do the FreeBSD cross-builds to use Clang and libc++. Fixes #44433.
The main goal here is to use FreeBSD's normal libc++, instead of
statically linking the libstdc++ packaged with GCC, because that
libstdc++ has bugs that cause rustc to deadlock inside LLVM.

But the easiest way to use libc++ is to switch the build from GCC to
Clang, and the Clang package in the Ubuntu image already knows how to
cross-compile (given a sysroot and preferably cross-binutils), so the
toolchain script now uses that instead of building a custom compiler.

This also de-duplicates the `build-toolchain.sh` script.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions