Skip to content

Commit

Permalink
wasmedge does not like static linking
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasdille committed Jan 14, 2025
1 parent 3fc384e commit b626f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/containerd-shim-wasmedge/Dockerfile.template
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ git clone -q --config advice.detachedHead=false --depth 1 --branch "containerd-s
export CARGO_HOME=/usr/local/cargo
export CARGO_TARGET_DIR=/target/
export RUSTUP_HOME=/usr/local/rustup
export RUSTFLAGS='-C target-feature=+crt-static'
#export RUSTFLAGS='-C target-feature=+crt-static'
make -j$(nproc) build-wasmedge TARGET_DIR="${CARGO_TARGET_DIR}"
make install-wasmedge PREFIX="${prefix}" TARGET_DIR="${CARGO_TARGET_DIR}"
EOF

0 comments on commit b626f69

Please sign in to comment.