diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2020-11-30 13:19:48 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2021-01-14 10:40:10 -0800 |
| commit | 5756bd7f2daaa1acf486f911f7246498c7ee6881 (patch) | |
| tree | 79dd8f8e43f5d527015b3fe6da0d4146b2229853 /src/ci/docker | |
| parent | fc9944fe84a683f0450c0921a935456e51b1c3ae (diff) | |
| download | rust-5756bd7f2daaa1acf486f911f7246498c7ee6881.tar.gz rust-5756bd7f2daaa1acf486f911f7246498c7ee6881.zip | |
std: Update wasi-libc commit of the wasm32-wasi target
This brings in an implementation of `current_dir` and `set_current_dir` (emulation in `wasi-libc`) as well as an updated version of finding relative paths. This also additionally updates clang to the latest release to build wasi-libc with.
Diffstat (limited to 'src/ci/docker')
| -rwxr-xr-x | src/ci/docker/host-x86_64/dist-various-2/build-wasi-toolchain.sh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/ci/docker/host-x86_64/dist-various-2/build-wasi-toolchain.sh b/src/ci/docker/host-x86_64/dist-various-2/build-wasi-toolchain.sh index c6db200f866..82d0f7dc471 100755 --- a/src/ci/docker/host-x86_64/dist-various-2/build-wasi-toolchain.sh +++ b/src/ci/docker/host-x86_64/dist-various-2/build-wasi-toolchain.sh @@ -1,18 +1,16 @@ #!/bin/sh -# -# ignore-tidy-linelength set -ex -# Originally from https://github.com/llvm/llvm-project/releases/download/llvmorg-10.0.0/clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz -curl https://ci-mirrors.rust-lang.org/rustc/clang%2Bllvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04.tar.xz | \ +# Originally from https://github.com/llvm/llvm-project/releases/download/llvmorg-11.0.0/clang+llvm-11.0.0-x86_64-linux-gnu-ubuntu-16.04.tar.xz +curl https://ci-mirrors.rust-lang.org/rustc/2021-01-14-clang%2Bllvm-11.0.1-x86_64-linux-gnu-ubuntu-16.04.tar.xz | \ tar xJf - -export PATH=`pwd`/clang+llvm-10.0.0-x86_64-linux-gnu-ubuntu-18.04/bin:$PATH +export PATH=`pwd`/clang+llvm-11.0.1-x86_64-linux-gnu-ubuntu-16.04/bin:$PATH git clone https://github.com/WebAssembly/wasi-libc cd wasi-libc -git reset --hard 215adc8ac9f91eb055311acc72683fd2eb1ae15a +git reset --hard 58795582905e08fa7748846c1971b4ab911d1e16 make -j$(nproc) INSTALL_DIR=/wasm32-wasi install cd .. |
