* 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.
21 lines
525 B
TOML
21 lines
525 B
TOML
[package]
|
|
name = "wasmtime-rust"
|
|
version = "0.2.0"
|
|
authors = ["Alex Crichton <alex@alexcrichton.com>"]
|
|
edition = "2018"
|
|
categories = ["wasm", "rust"]
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
description = "Rust extension for Wasmtime"
|
|
|
|
[lib]
|
|
test = false
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
cranelift-codegen = "0.46.1"
|
|
cranelift-native = "0.46.1"
|
|
failure = "0.1.5"
|
|
wasmtime-interface-types = { path = "../../wasmtime-interface-types" }
|
|
wasmtime-jit = { path = "../../wasmtime-jit" }
|
|
wasmtime-rust-macro = { path = "./macro" }
|