Skip to content

Commit 2d8dc70

Browse files
committed
add experimental-translator feature to some Wasmi crates
This is useful for fuzzing and testing of the new Wasmi translator.
1 parent 8c4701f commit 2d8dc70

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

crates/cli/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ default = []
2727
hash-collections = ["wasmi/hash-collections"]
2828
prefer-btree-collections = ["wasmi/prefer-btree-collections"]
2929
simd = ["wasmi/simd"]
30+
experimental-translator = ["wasmi/experimental-translator"]
3031

3132
# We need to put this [profile.release] section due to this bug in Cargo:
3233
# https://github.com/rust-lang/cargo/issues/8264

crates/fuzz/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,6 @@ differential = [
3434
"dep:wasmi-stack",
3535
"dep:wasmtime",
3636
]
37+
experimental-translator = [
38+
"wasmi/experimental-translator"
39+
]

fuzz/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ wasmprinter = { workspace = true, optional = true }
2121
[features]
2222
default = []
2323
differential = ["wasmi_fuzz/differential", "dep:wasmprinter"]
24+
experimental-translator = [
25+
"wasmi_fuzz/experimental-translator"
26+
]
2427

2528
[[bin]]
2629
name = "translate"

0 commit comments

Comments
 (0)