Browse Source

Tweak a feature directive for `wasmtime-cli` (#7843)

Don't force-enable the `wasmtime-wast` crate if the `component-model`
feature is active, only activate component model support if
`wasmtime-wast` is otherwise activated.
pull/7849/head
Alex Crichton 9 months ago
committed by GitHub
parent
commit
0f979b6fe9
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      Cargo.toml

2
Cargo.toml

@ -360,7 +360,7 @@ wasi-http = ["component-model", "dep:wasmtime-wasi-http", "dep:tokio", "dep:hype
pooling-allocator = ["wasmtime/pooling-allocator", "wasmtime-cli-flags/pooling-allocator"]
component-model = [
"wasmtime/component-model",
"wasmtime-wast/component-model",
"wasmtime-wast?/component-model",
"wasmtime-cli-flags/component-model"
]
wat = ["dep:wat", "wasmtime/wat"]

Loading…
Cancel
Save