Skip to content

Commit

Permalink
Revert "chore(runtime) build Wasmtime with 'posix-signals-on-macos' o…
Browse files Browse the repository at this point in the history
…n macOS"

This reverts commit e52df5b.
  • Loading branch information
thibaultcha committed Nov 9, 2023
1 parent e52df5b commit d6f3ae9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
12 changes: 0 additions & 12 deletions util/runtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -145,18 +145,6 @@ if check_target "$TARGET_DIR"; then
exit 0
fi

# overrides

case $OSTYPE in
darwin*)
if [[ "$RUNTIME" = "wasmtime" ]]; then
# must be built with the 'posix-signals-on-macos' feature
notice "installing wasmtime on macOS, forcing 'build' mode"
MODE="build"
fi
;;
esac

notice "installing $RUNTIME in $TARGET_DIR..."
BUILD_SCRIPT=$NGX_WASM_DIR/util/runtimes/$RUNTIME.sh

Expand Down
5 changes: 0 additions & 5 deletions util/runtimes/wasmtime.sh
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,6 @@ build_wasmtime() {
cargo_target_dir="target/release"
fi

if [ "$(uname -s)" = "Darwin" ]; then
# See https://github.com/bytecodealliance/wasmtime/issues/6785
args+="--features wasmtime/posix-signals-on-macos"
fi

if [ "$clean" = "clean" -a -d $cargo_target_dir ]; then
rm -rf $cargo_target_dir
fi
Expand Down

0 comments on commit d6f3ae9

Please sign in to comment.