Remove usage of Features from wasmtime::Config API (#763)

Instead expose a number of boolean accessors which doesn't require users
to construct a foreign `Features` type and allows us to decouple the API
of the `wasmtime` crate from the underlying implementation detail.
This commit is contained in:
Alex Crichton
2020-01-06 17:34:48 -06:00
committed by GitHub
parent b9dc38f4e1
commit 787f50e107
11 changed files with 109 additions and 56 deletions

2
Cargo.lock generated
View File

@@ -2132,7 +2132,6 @@ dependencies = [
"wasmtime",
"wasmtime-environ",
"wasmtime-interface-types",
"wasmtime-jit",
"wasmtime-runtime",
"wasmtime-wasi",
]
@@ -2160,7 +2159,6 @@ dependencies = [
"anyhow",
"wasmtime",
"wasmtime-interface-types",
"wasmtime-jit",
"wasmtime-rust-macro",
"wasmtime-wasi",
]