Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ci/build-release-artifacts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ fi

cargo build --release $flags --target $target -p wasmtime-cli $bin_flags --features run

# For the C API force unwind tables to be emitted to make the generated objects
# more flexible. Embedders can always build without this but this enables
# libunwind to produce better backtraces by default when Wasmtime is linked into
# a different project that wants to unwind.
export RUSTFLAGS="$RUSTFLAGS -C force-unwind-tables"

mkdir -p target/c-api-build
cd target/c-api-build
cmake \
Expand Down