From 5bd670d6e153dfdb9cafcefdca73fb5ee404f485 Mon Sep 17 00:00:00 2001 From: Tei Leelo Roberts Date: Wed, 23 Aug 2023 10:52:05 +0200 Subject: [PATCH] fix: features --- crates/wasm-bridge/Cargo.toml | 2 +- recipes.json | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 recipes.json diff --git a/crates/wasm-bridge/Cargo.toml b/crates/wasm-bridge/Cargo.toml index 3cba5ee0..a5908d00 100644 --- a/crates/wasm-bridge/Cargo.toml +++ b/crates/wasm-bridge/Cargo.toml @@ -24,7 +24,7 @@ default = ["wat", "error-logging"] wat = ["wasmtime/wat", "wasm-bridge-js/wat"] component-model = ["wasmtime/component-model", "wasm-bridge-macros", "wasm-bridge-js/component-model"] async = ["wasmtime/async", "async-trait", "wasm-bridge-macros/async", "wasm-bridge-js/async"] -sync = ["wasmtime-wasi/async"] +sync = ["wasmtime-wasi/sync"] wasi = ["wasmtime-wasi", "wasm-bridge-js/wasi", "async"] error-logging = ["wasm-bridge-js/error-logging"] diff --git a/recipes.json b/recipes.json new file mode 100644 index 00000000..1c858814 --- /dev/null +++ b/recipes.json @@ -0,0 +1,10 @@ +{ + "test-enums": { + "cwd": "tests", + "cmd": [ + "sh", + "skeletons/wit_components/run_test.sh", + "enums" + ] + } +}