Skip to content

Commit

Permalink
cmake: update wasmtime
Browse files Browse the repository at this point in the history
Signed-off-by: Tyler Rockwood <rockwood@redpanda.com>
  • Loading branch information
rockwotj committed Oct 13, 2023
1 parent 2621165 commit 365b30c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmake/dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -89,14 +89,14 @@ fetch_dep(hdrhistogram
REPO https://github.com/HdrHistogram/HdrHistogram_c
TAG 0.11.5)

list(APPEND WASMTIME_USER_CARGO_BUILD_OPTIONS --no-default-features)
list(APPEND WASMTIME_USER_CARGO_BUILD_OPTIONS --features=async)

# We need submodules for wasmtime to compile
FetchContent_Declare(
wasmtime
GIT_REPOSITORY https://github.com/bytecodealliance/wasmtime
GIT_TAG b77b407b25c3c158be209b8df6d9054ac6e43203
# Remove the features we don't use.
PATCH_COMMAND
sed -i "s/default \\\\= \\\\['jitdump', 'wat', 'wasi', 'cache', 'parallel\\\\-compilation', 'async'\\\\]/default = ['async']/g" crates/c-api/Cargo.toml
GIT_TAG e6ff84119a94427d9467a25e82fdf892682f9e10
GIT_PROGRESS TRUE
USES_TERMINAL_DOWNLOAD TRUE
OVERRIDE_FIND_PACKAGE
Expand Down

0 comments on commit 365b30c

Please sign in to comment.