From e291c484e66ce261bab9e14b4ad7f7d4cebb4c5f Mon Sep 17 00:00:00 2001 From: kajacx Date: Thu, 18 May 2023 19:33:40 +0200 Subject: [PATCH] Use `js-default` feature in wai-bindgen-wasmer Fixes https://github.com/wasmerio/wasmer/issues/3870 `wasm-types-polyfill` feature, which is enabled by `js-default`, is needed for type annotations. --- lib/wai-bindgen-wasmer/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wai-bindgen-wasmer/Cargo.toml b/lib/wai-bindgen-wasmer/Cargo.toml index 0ec68317d1b..fec5b665a7b 100644 --- a/lib/wai-bindgen-wasmer/Cargo.toml +++ b/lib/wai-bindgen-wasmer/Cargo.toml @@ -31,7 +31,7 @@ tracing = ["tracing-lib", "wai-bindgen-wasmer-impl/tracing"] async = ["async-trait", "wai-bindgen-wasmer-impl/async"] # Wasmer features -js = ["wasmer/js", "wasmer/std"] +js = ["wasmer/js-default"] sys = ["wasmer/sys"] # Wasmer compiler (with `sys` feature only)