Skip to content

Commit 50d38b3

Browse files
committed
Updates rust used by the containerized runner from 1.37 to 1.40
Wasmtime no longer builds. This was debug to be an error parsing cargo.lock while building. According to rust-lang/cargo#7579 it seems rust prior to 1.38 is now obsolete w.r.t. to changes to the lock file format. Also updates the url for the repositories pointed to for wasmtime and lucet.
1 parent da53460 commit 50d38b3

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

webui_runner/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ RUN ln -s /usr/bin/wasm-ld-8 /usr/bin/wasm-ld
2020

2121
ENV LD_LIBRARY_PATH=/usr/local/lib
2222

23-
RUN curl -sS -L -O https://static.rust-lang.org/dist/rust-1.37.0-x86_64-unknown-linux-gnu.tar.gz \
24-
&& tar xzf rust-1.37.0-x86_64-unknown-linux-gnu.tar.gz \
25-
&& cd rust-1.37.0-x86_64-unknown-linux-gnu \
23+
RUN curl -sS -L -O https://static.rust-lang.org/dist/rust-1.40.0-x86_64-unknown-linux-gnu.tar.gz \
24+
&& tar xzf rust-1.40.0-x86_64-unknown-linux-gnu.tar.gz \
25+
&& cd rust-1.40.0-x86_64-unknown-linux-gnu \
2626
&& ./install.sh \
2727
&& cd .. \
28-
&& rm -rf rust-1.37.0-x86_64-unknown-linux-gnu rust-1.37.0-x86_64-unknown-linux-gnu.tar.gz
28+
&& rm -rf rust-1.40.0-x86_64-unknown-linux-gnu rust-1.40.0-x86_64-unknown-linux-gnu.tar.gz
2929

3030
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
3131

webui_runner/plugs/lucet_app/download.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ source ../../config.inc
55
>&2 echo "lucet_app download"
66
mkdir -p build; cd build
77
if [ ! -d lucet ]; then
8-
git clone https://github.com/fastly/lucet.git lucet
8+
git clone https://github.com/bytecodealliance/lucet.git lucet
99
fi
1010
cd lucet
1111
git clean -fd

webui_runner/plugs/wasmtime_app/download.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
>&2 echo "wasmtime_app build"
44
mkdir -p build; cd build
55
if [ ! -d wasmtime ]; then
6-
git clone https://github.com/CraneStation/wasmtime.git wasmtime
6+
git clone https://github.com/bytecodealliance/wasmtime.git wasmtime
77
fi
88
cd wasmtime
99
git clean -fd

0 commit comments

Comments
 (0)