Skip to content

Commit 47cb91a

Browse files
Rollup merge of rust-lang#47700 - EdSchouten:cc104, r=kennytm
Remove workarounds for cc 1.0.3. Now that the Rust codebase depends on cc 1.0.4, there is no longer any need to specify a compiler for CloudABI manually. Cargo will automatically call into the right compiler executable.
2 parents 7550753 + 583b382 commit 47cb91a

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

src/ci/docker/dist-various-2/Dockerfile

-7
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,6 @@ ENV \
4747
CC_x86_64_sun_solaris=x86_64-sun-solaris2.10-gcc \
4848
CXX_x86_64_sun_solaris=x86_64-sun-solaris2.10-g++
4949

50-
# FIXME(EdSchouten): Remove this once cc ≥1.0.4 has been merged. It can
51-
# automatically pick the right compiler path.
52-
ENV \
53-
AR_x86_64_unknown_cloudabi=x86_64-unknown-cloudabi-ar \
54-
CC_x86_64_unknown_cloudabi=x86_64-unknown-cloudabi-clang \
55-
CXX_x86_64_unknown_cloudabi=x86_64-unknown-cloudabi-clang++
56-
5750
ENV TARGETS=x86_64-unknown-fuchsia
5851
ENV TARGETS=$TARGETS,aarch64-unknown-fuchsia
5952
ENV TARGETS=$TARGETS,sparcv9-sun-solaris

src/ci/docker/dist-various-2/build-cloudabi-toolchain.sh

-6
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,6 @@ ln -s ../lib/llvm-5.0/bin/clang /usr/bin/${target}-c++
4040
ln -s ../lib/llvm-5.0/bin/lld /usr/bin/${target}-ld
4141
ln -s ../../${target} /usr/lib/llvm-5.0/${target}
4242

43-
# FIXME(EdSchouten): Remove this once cc ≥1.0.4 has been merged. It
44-
# can make use of ${target}-cc and ${target}-c++, without incorrectly
45-
# assuming it's MSVC.
46-
ln -s ../lib/llvm-5.0/bin/clang /usr/bin/${target}-clang
47-
ln -s ../lib/llvm-5.0/bin/clang /usr/bin/${target}-clang++
48-
4943
# Install the C++ runtime libraries from CloudABI Ports.
5044
echo deb https://nuxi.nl/distfiles/cloudabi-ports/debian/ cloudabi cloudabi > \
5145
/etc/apt/sources.list.d/cloudabi.list

0 commit comments

Comments
 (0)