Disable most wasmtime features

This commit is contained in:
Max Brunsfeld 2022-10-24 16:23:09 -07:00
parent 9cbeaf27da
commit 08ccf5babf
2 changed files with 240 additions and 787 deletions

1010
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -22,12 +22,23 @@ include = [
]
[features]
"wasm" = ["wasmtime", "wasmtime-c-api"]
wasm = ["wasmtime", "wasmtime-c-api"]
[dependencies]
regex = "1"
wasmtime = { git = "https://github.com/maxbrunsfeld/wasmtime", rev = "669e0aaab1181b23fcc4ee6105a2f12cf9db92c3", optional = true }
wasmtime-c-api = { git = "https://github.com/maxbrunsfeld/wasmtime", rev = "669e0aaab1181b23fcc4ee6105a2f12cf9db92c3", optional = true }
[dependencies.wasmtime]
git = "https://github.com/maxbrunsfeld/wasmtime"
rev = "669e0aaab1181b23fcc4ee6105a2f12cf9db92c3"
optional = true
default-features = false
features = ["cranelift"]
[dependencies.wasmtime-c-api]
git = "https://github.com/maxbrunsfeld/wasmtime"
rev = "669e0aaab1181b23fcc4ee6105a2f12cf9db92c3"
optional = true
default-features = false
[build-dependencies]
cc = "^1.0.58"