Skip to content

Commit

Permalink
Fix some text-format related features (#7464)
Browse files Browse the repository at this point in the history
* Enable `wasmtime/wat` when the `wat` feature is enabled on the CLI
* Additionally always enable the `wasmtime/wat` feature for the
  `wasmtime-wast` crate since the text format is used by some tests.

Closes #7460
  • Loading branch information
alexcrichton authored Nov 3, 2023
1 parent 64af09d commit 630f8e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ component-model = [
"wasmtime-wast/component-model",
"wasmtime-cli-flags/component-model"
]
wat = ["dep:wat"]
wat = ["dep:wat", "wasmtime/wat"]
cache = ["dep:wasmtime-cache", "wasmtime-cli-flags/cache"]
parallel-compilation = ["wasmtime-cli-flags/parallel-compilation"]
logging = ["wasmtime-cli-flags/logging"]
Expand Down
2 changes: 1 addition & 1 deletion crates/wast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ edition.workspace = true

[dependencies]
anyhow = { workspace = true }
wasmtime = { workspace = true, features = ['cranelift'] }
wasmtime = { workspace = true, features = ['cranelift', 'wat'] }
wast = { workspace = true }
log = { workspace = true }

Expand Down

0 comments on commit 630f8e3

Please sign in to comment.