web-wasi: Use wasmtime instead of wasmer for the cross-compiling emulator

wasmtime is the official reference implementation and wasmer has
permission issues without sudo.
This commit is contained in:
Matt McCormick
2021-11-03 19:28:11 -04:00
parent ea4d106ed8
commit ed2c1eb321
3 changed files with 7 additions and 6 deletions

View File

@ -7,4 +7,4 @@ set(CMAKE_SYSROOT $ENV{WASI_SYSROOT})
set(CMAKE_C_COMPILER /usr/local/bin/clang-wasi-sysroot.sh)
set(CMAKE_CXX_COMPILER /usr/local/bin/clang++-wasi-sysroot.sh)
set(CMAKE_CROSSCOMPILING_EMULATOR /usr/local/bin/wasmer-pwd.sh)
set(CMAKE_CROSSCOMPILING_EMULATOR /usr/local/bin/wasmtime-pwd.sh)