summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorYuki Okushi <yuki.okushi@huawei.com>2021-07-16 09:26:11 +0900
committerYuki Okushi <yuki.okushi@huawei.com>2021-07-16 09:31:03 +0900
commit91db0a901c98b13c93e2ab6bc9b04cd0e79551bf (patch)
treea8640601d75d98c3fa2e2fa9d864f117a8fe0029 /ci
parent282257f73d74743017b81b7a3e17620fbded8520 (diff)
downloadrust-libc-91db0a901c98b13c93e2ab6bc9b04cd0e79551bf.tar.gz
Add a symlink to wasm-ld
Diffstat (limited to 'ci')
-rw-r--r--ci/docker/wasm32-wasi/Dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/ci/docker/wasm32-wasi/Dockerfile b/ci/docker/wasm32-wasi/Dockerfile
index 497d253635..ab057ffb36 100644
--- a/ci/docker/wasm32-wasi/Dockerfile
+++ b/ci/docker/wasm32-wasi/Dockerfile
@@ -26,7 +26,8 @@ ENV PATH=$PATH:/wasmtime-dev-x86_64-linux
COPY docker/wasm32-wasi/clang.sh /wasi-libc/bin/clang
RUN apt-get install -y --no-install-recommends lld
-ENV PATH=$PATH:/usr/lib/llvm-9/bin
+RUN ln -s /usr/bin/wasm-ld-10 /usr/bin/wasm-ld
+ENV PATH=$PATH:/usr/lib/llvm-10/bin
# Of note here is our clang wrapper which just executes a normal clang
# executable with the right sysroot, and then we're sure to turn off the