Skip to content

Commit 0d26fcc

Browse files
committed
ci: fix wasmtime build
1 parent c1e280e commit 0d26fcc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

install-wasmtime.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ if echo "int main(void) {}" | gcc -o /dev/null -v -x c - &> /dev/stdout| grep co
99
git clone [email protected]:bytecodealliance/wasmtime -b ${VER} \
1010
&& cd wasmtime \
1111
&& git submodule update --init \
12-
&& cargo build --release --manifest-path crates/c-api/Cargo.toml
12+
&& RUSTFLAGS="-C target-feature=-crt-static" \
13+
cargo build --release --manifest-path crates/c-api/Cargo.toml
1314
fi
1415
mv wasmtime-${VER}-x86_64-linux-c-api wasmtime-c-api

0 commit comments

Comments
 (0)