Skip to content

Commit d1c296f

Browse files
committed
chore(runtime) revert back to use Makefile to build Wasmer
Since Wasmer 4.1.0, there are no licensing issues. See wasmerio/wasmer#4058.
1 parent 035e513 commit d1c296f

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

util/runtimes/wasmer.sh

+2-19
Original file line numberDiff line numberDiff line change
@@ -111,26 +111,9 @@ build_wasmer() {
111111
rm -rf target
112112
fi
113113

114-
# We call cargo directly to avoid the webc_runner feature flag.
115-
#
116-
#RUSTFLAGS=$NGX_BUILD_WASMER_RUSTFLAGS \
117-
#ENABLE_LLVM=0 \
118-
# make build-capi
119114
RUSTFLAGS=$NGX_BUILD_WASMER_RUSTFLAGS \
120-
cargo build \
121-
--manifest-path lib/c-api/Cargo.toml \
122-
--release \
123-
--no-default-features \
124-
--features wat,compiler,wasi,middlewares \
125-
--features wasmer-artifact-create,static-artifact-create \
126-
--features wasmer-artifact-load,static-artifact-load \
127-
--features cranelift,singlepass
128-
129-
### check
130-
131-
if strings target/release/libwasmer.* | grep -q 'webc::'; then
132-
fatal "failed to build Wasmer without webc."
133-
fi
115+
ENABLE_LLVM=0 \
116+
make build-capi
134117

135118
### install
136119

0 commit comments

Comments
 (0)