File tree 1 file changed +2
-19
lines changed
1 file changed +2
-19
lines changed Original file line number Diff line number Diff line change @@ -111,26 +111,9 @@ build_wasmer() {
111
111
rm -rf target
112
112
fi
113
113
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
119
114
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
134
117
135
118
# ## install
136
119
You can’t perform that action at this time.
0 commit comments