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 <a.clayton@nginx.com>
This commit is contained in:
@@ -81,7 +81,8 @@ CONFIGURE_wasm ?= wasm --include-path=\`pwd\`/pkg/contrib/wasmtime/crates/c-api/
|
||||
INSTALL_wasm ?= wasm-install
|
||||
RUN_wasm ?= /bin/true
|
||||
define MODULE_PREBUILD_wasm
|
||||
export RUST_VERSION=1.71.0 \\\n \
|
||||
apt-get install --no-install-recommends --no-install-suggests -y libclang-dev \\\n \
|
||||
\ \ \ \&\& export RUST_VERSION=1.76.0 \\\n \
|
||||
\ \ \ \&\& export RUSTUP_HOME=/usr/src/unit/rustup \\\n \
|
||||
\ \ \ \&\& export CARGO_HOME=/usr/src/unit/cargo \\\n \
|
||||
\ \ \ \&\& export PATH=/usr/src/unit/cargo/bin:\$$PATH \\\n \
|
||||
|
||||
Reference in New Issue
Block a user