Skip to content

Commit 8bddf37

Browse files
committed
Docker: Bump rust version to 1.76.0
The minimum version required to build wasmtime 17 which is required by wasm-wasi-component is 1.73.0 But no point not using the latest version. This also now needs the libclang-dev package installed, we install this via MODULE_PREBUILD_wasm. Signed-off-by: Andrew Clayton <[email protected]>
1 parent 05b4cd5 commit 8bddf37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/docker/Makefile

+2-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,8 @@ CONFIGURE_wasm ?= wasm --include-path=\`pwd\`/pkg/contrib/wasmtime/crates/c-api/
8181
INSTALL_wasm ?= wasm-install
8282
RUN_wasm ?= /bin/true
8383
define MODULE_PREBUILD_wasm
84-
export RUST_VERSION=1.71.0 \\\n \
84+
apt-get install --no-install-recommends --no-install-suggests -y libclang-dev \\\n \
85+
\ \ \ \&\& export RUST_VERSION=1.76.0 \\\n \
8586
\ \ \ \&\& export RUSTUP_HOME=/usr/src/unit/rustup \\\n \
8687
\ \ \ \&\& export CARGO_HOME=/usr/src/unit/cargo \\\n \
8788
\ \ \ \&\& export PATH=/usr/src/unit/cargo/bin:\$$PATH \\\n \

0 commit comments

Comments
 (0)