Docker: Add wasm-wasi-component to the wasm target
Thus $ make build-wasm will build _both_ the 'wasm' & 'wasm-wasi-component' modules. Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
This commit is contained in:
@@ -77,9 +77,10 @@ MODULE_PREBUILD_ruby ?= /bin/true
|
||||
|
||||
VERSIONS_wasm ?=
|
||||
CONTAINER_wasm ?= debian:$(VARIANT)-slim
|
||||
CONFIGURE_wasm ?= wasm --include-path=\`pwd\`/pkg/contrib/wasmtime/crates/c-api/include --lib-path=/usr/lib/\$$(dpkg-architecture -q DEB_HOST_MULTIARCH)/
|
||||
INSTALL_wasm ?= wasm-install
|
||||
RUN_wasm ?= /bin/true
|
||||
CONFIGURE_wasm ?= wasm --include-path=\`pwd\`/pkg/contrib/wasmtime/crates/c-api/include --lib-path=/usr/lib/\$$(dpkg-architecture -q DEB_HOST_MULTIARCH)/ \&\& ./configure wasm-wasi-component
|
||||
INSTALL_wasm ?= wasm-install wasm-wasi-component-install
|
||||
RUN_wasm ?= /bin/true
|
||||
|
||||
define MODULE_PREBUILD_wasm
|
||||
apt-get install --no-install-recommends --no-install-suggests -y libclang-dev \\\n \
|
||||
\ \ \ \&\& export RUST_VERSION=1.76.0 \\\n \
|
||||
|
||||
Reference in New Issue
Block a user