* deps: bump wasmparser to 0.39.2 This has a bug fix for multi-value Wasm validation that is required for getting the spec tests passing. https://github.com/yurydelendik/wasmparser.rs/pull/135 * Update cranelift to 0.46.1 to get multi-value Wasm support The `cranelift_wasm` APIs had to change a little bit to maintain state necessary when translating multi-value Wasm blocks. The `translate_module` function now returns a `ModuleTranslationState` that is borrowed during each function's translation. * Enable multi-value proposal's spec tests This enables all the Wasm multi-value proposal's spec tests other than the ones that rely on functions having more return values than registers available on the target. That is not supported by cranelift yet. * wasmtime-interface-types: always use multi-value Wasm And remove the return pointer hacks that work around the lack of multi-value.
57 lines
1.9 KiB
TOML
57 lines
1.9 KiB
TOML
[package]
|
|
name = "wasmtime"
|
|
authors = ["The Wasmtime Project Developers"]
|
|
version = "0.2.0"
|
|
description = "Command-line interface for Wasmtime"
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
documentation = "https://cranelift.readthedocs.io/"
|
|
categories = ["wasm"]
|
|
repository = "https://github.com/CraneStation/wasmtime"
|
|
edition = "2018"
|
|
default-run = "wasmtime"
|
|
|
|
[dependencies]
|
|
cranelift-codegen = { version = "0.46.1", features = ["enable-serde"] }
|
|
cranelift-entity = { version = "0.46.1", features = ["enable-serde"] }
|
|
cranelift-wasm = { version = "0.46.1", features = ["enable-serde"] }
|
|
cranelift-native = "0.46.1"
|
|
wasmtime-api = { path = "wasmtime-api" }
|
|
wasmtime-debug = { path = "wasmtime-debug" }
|
|
wasmtime-environ = { path = "wasmtime-environ" }
|
|
wasmtime-interface-types = { path = "wasmtime-interface-types" }
|
|
wasmtime-runtime = { path = "wasmtime-runtime" }
|
|
wasmtime-jit = { path = "wasmtime-jit" }
|
|
wasmtime-obj = { path = "wasmtime-obj" }
|
|
wasmtime-wast = { path = "wasmtime-wast" }
|
|
wasmtime-wasi = { path = "wasmtime-wasi" }
|
|
wasmtime-wasi-c = { path = "wasmtime-wasi-c", optional = true }
|
|
wasi-common = { git = "https://github.com/CraneStation/wasi-common", rev = "c3bf040"}
|
|
docopt = "1.0.1"
|
|
serde = { "version" = "1.0.94", features = ["derive"] }
|
|
faerie = "0.11.0"
|
|
failure = "0.1"
|
|
target-lexicon = { version = "0.8.1", default-features = false }
|
|
pretty_env_logger = "0.3.0"
|
|
file-per-thread-logger = "0.1.1"
|
|
wabt = "0.9.2"
|
|
libc = "0.2.60"
|
|
errno = "0.2.4"
|
|
rayon = "1.1"
|
|
wasm-webidl-bindings = "0.5"
|
|
|
|
# build.rs tests whether to enable a workaround for the libc strtof function.
|
|
[target.'cfg(target_os = "linux")'.build-dependencies]
|
|
libc = "0.2.60"
|
|
|
|
[workspace]
|
|
members = [
|
|
"misc/wasmtime-rust",
|
|
"misc/wasmtime-py",
|
|
]
|
|
|
|
[features]
|
|
# Enable all supported architectures by default.
|
|
default = ["cranelift-codegen/all-arch"]
|
|
lightbeam = ["wasmtime-environ/lightbeam", "wasmtime-jit/lightbeam", "wasmtime-wast/lightbeam"]
|
|
wasi-c = ["wasmtime-wasi-c"]
|