Merge pull request #3365 from fitzgen/wasmtime-version-0.30.0

Wasmtime version 0.30.0
This commit is contained in:
Nick Fitzgerald
2021-09-17 11:40:07 -07:00
committed by GitHub
55 changed files with 298 additions and 234 deletions

88
Cargo.lock generated
View File

@@ -559,7 +559,7 @@ checksum = "dcb25d077389e53838a8158c8e99174c5a9d902dee4904320db714f3c653ffba"
[[package]] [[package]]
name = "cranelift" name = "cranelift"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"cranelift-codegen", "cranelift-codegen",
"cranelift-frontend", "cranelift-frontend",
@@ -567,14 +567,14 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-bforest" name = "cranelift-bforest"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"cranelift-entity", "cranelift-entity",
] ]
[[package]] [[package]]
name = "cranelift-codegen" name = "cranelift-codegen"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"bincode", "bincode",
"cranelift-bforest", "cranelift-bforest",
@@ -598,7 +598,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-codegen-meta" name = "cranelift-codegen-meta"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"cranelift-codegen-shared", "cranelift-codegen-shared",
"cranelift-entity", "cranelift-entity",
@@ -606,14 +606,14 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-codegen-shared" name = "cranelift-codegen-shared"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"serde", "serde",
] ]
[[package]] [[package]]
name = "cranelift-entity" name = "cranelift-entity"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"serde", "serde",
] ]
@@ -641,7 +641,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-frontend" name = "cranelift-frontend"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"cranelift-codegen", "cranelift-codegen",
"hashbrown", "hashbrown",
@@ -662,7 +662,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-interpreter" name = "cranelift-interpreter"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"cranelift-codegen", "cranelift-codegen",
"cranelift-entity", "cranelift-entity",
@@ -675,7 +675,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-jit" name = "cranelift-jit"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cranelift", "cranelift",
@@ -694,7 +694,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-module" name = "cranelift-module"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cranelift-codegen", "cranelift-codegen",
@@ -705,7 +705,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-native" name = "cranelift-native"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"cranelift-codegen", "cranelift-codegen",
"libc", "libc",
@@ -714,7 +714,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-object" name = "cranelift-object"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cranelift-codegen", "cranelift-codegen",
@@ -728,7 +728,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-preopt" name = "cranelift-preopt"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"cranelift-codegen", "cranelift-codegen",
"cranelift-entity", "cranelift-entity",
@@ -736,7 +736,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-reader" name = "cranelift-reader"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"cranelift-codegen", "cranelift-codegen",
"smallvec", "smallvec",
@@ -745,7 +745,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-serde" name = "cranelift-serde"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"clap", "clap",
"cranelift-codegen", "cranelift-codegen",
@@ -794,7 +794,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-wasm" name = "cranelift-wasm"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"cranelift-codegen", "cranelift-codegen",
"cranelift-entity", "cranelift-entity",
@@ -1624,7 +1624,7 @@ checksum = "c7d73b3f436185384286bd8098d17ec07c9a7d2388a6599f824d8502b529702a"
[[package]] [[package]]
name = "lightbeam" name = "lightbeam"
version = "0.29.0" version = "0.30.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"arrayvec", "arrayvec",
@@ -2045,7 +2045,7 @@ checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
[[package]] [[package]]
name = "peepmatic" name = "peepmatic"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"peepmatic-automata", "peepmatic-automata",
@@ -2060,7 +2060,7 @@ dependencies = [
[[package]] [[package]]
name = "peepmatic-automata" name = "peepmatic-automata"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"serde", "serde",
] ]
@@ -2087,7 +2087,7 @@ dependencies = [
[[package]] [[package]]
name = "peepmatic-macro" name = "peepmatic-macro"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@@ -2096,7 +2096,7 @@ dependencies = [
[[package]] [[package]]
name = "peepmatic-runtime" name = "peepmatic-runtime"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"bincode", "bincode",
"bumpalo", "bumpalo",
@@ -2112,7 +2112,7 @@ dependencies = [
[[package]] [[package]]
name = "peepmatic-souper" name = "peepmatic-souper"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"log", "log",
@@ -2136,7 +2136,7 @@ dependencies = [
[[package]] [[package]]
name = "peepmatic-test-operator" name = "peepmatic-test-operator"
version = "0.76.0" version = "0.77.0"
dependencies = [ dependencies = [
"peepmatic-traits", "peepmatic-traits",
"serde", "serde",
@@ -2145,7 +2145,7 @@ dependencies = [
[[package]] [[package]]
name = "peepmatic-traits" name = "peepmatic-traits"
version = "0.76.0" version = "0.77.0"
[[package]] [[package]]
name = "pem" name = "pem"
@@ -3333,7 +3333,7 @@ checksum = "fd6fbd9a79829dd1ad0cc20627bf1ed606756a7f77edff7b66b7064f9cb327c6"
[[package]] [[package]]
name = "wasi-cap-std-sync" name = "wasi-cap-std-sync"
version = "0.29.0" version = "0.30.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"async-trait", "async-trait",
@@ -3355,7 +3355,7 @@ dependencies = [
[[package]] [[package]]
name = "wasi-common" name = "wasi-common"
version = "0.29.0" version = "0.30.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bitflags", "bitflags",
@@ -3400,7 +3400,7 @@ dependencies = [
[[package]] [[package]]
name = "wasi-tokio" name = "wasi-tokio"
version = "0.29.0" version = "0.30.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"bitflags", "bitflags",
@@ -3548,7 +3548,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime" name = "wasmtime"
version = "0.29.0" version = "0.30.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"backtrace", "backtrace",
@@ -3622,7 +3622,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-cache" name = "wasmtime-cache"
version = "0.29.0" version = "0.30.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"base64", "base64",
@@ -3646,7 +3646,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-cli" name = "wasmtime-cli"
version = "0.29.0" version = "0.30.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"criterion", "criterion",
@@ -3688,7 +3688,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-cranelift" name = "wasmtime-cranelift"
version = "0.29.0" version = "0.30.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cranelift-codegen", "cranelift-codegen",
@@ -3707,7 +3707,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-environ" name = "wasmtime-environ"
version = "0.29.0" version = "0.30.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cfg-if 1.0.0", "cfg-if 1.0.0",
@@ -3726,7 +3726,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-fiber" name = "wasmtime-fiber"
version = "0.29.0" version = "0.30.0"
dependencies = [ dependencies = [
"backtrace", "backtrace",
"cc", "cc",
@@ -3775,7 +3775,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-jit" name = "wasmtime-jit"
version = "0.29.0" version = "0.30.0"
dependencies = [ dependencies = [
"addr2line", "addr2line",
"anyhow", "anyhow",
@@ -3799,7 +3799,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-lightbeam" name = "wasmtime-lightbeam"
version = "0.29.0" version = "0.30.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cranelift-codegen", "cranelift-codegen",
@@ -3813,7 +3813,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-runtime" name = "wasmtime-runtime"
version = "0.29.0" version = "0.30.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"backtrace", "backtrace",
@@ -3837,7 +3837,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-types" name = "wasmtime-types"
version = "0.29.0" version = "0.30.0"
dependencies = [ dependencies = [
"cranelift-entity", "cranelift-entity",
"serde", "serde",
@@ -3847,7 +3847,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-wasi" name = "wasmtime-wasi"
version = "0.29.0" version = "0.30.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"wasi-cap-std-sync", "wasi-cap-std-sync",
@@ -3859,7 +3859,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-wasi-crypto" name = "wasmtime-wasi-crypto"
version = "0.29.0" version = "0.30.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"wasi-crypto", "wasi-crypto",
@@ -3869,7 +3869,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-wasi-nn" name = "wasmtime-wasi-nn"
version = "0.29.0" version = "0.30.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"log", "log",
@@ -3884,7 +3884,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-wast" name = "wasmtime-wast"
version = "0.29.0" version = "0.30.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"wasmtime", "wasmtime",
@@ -3941,7 +3941,7 @@ dependencies = [
[[package]] [[package]]
name = "wiggle" name = "wiggle"
version = "0.29.0" version = "0.30.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"async-trait", "async-trait",
@@ -3958,7 +3958,7 @@ dependencies = [
[[package]] [[package]]
name = "wiggle-generate" name = "wiggle-generate"
version = "0.29.0" version = "0.30.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"heck", "heck",
@@ -3971,7 +3971,7 @@ dependencies = [
[[package]] [[package]]
name = "wiggle-macro" name = "wiggle-macro"
version = "0.29.0" version = "0.30.0"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-cli" name = "wasmtime-cli"
version = "0.29.0" version = "0.30.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "Command-line interface for Wasmtime" description = "Command-line interface for Wasmtime"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
@@ -21,15 +21,15 @@ path = "src/bin/wasmtime.rs"
doc = false doc = false
[dependencies] [dependencies]
wasmtime = { path = "crates/wasmtime", version = "0.29.0", default-features = false, features = ['cache', 'cranelift'] } wasmtime = { path = "crates/wasmtime", version = "0.30.0", default-features = false, features = ['cache', 'cranelift'] }
wasmtime-cache = { path = "crates/cache", version = "0.29.0" } wasmtime-cache = { path = "crates/cache", version = "0.30.0" }
wasmtime-cranelift = { path = "crates/cranelift", version = "0.29.0" } wasmtime-cranelift = { path = "crates/cranelift", version = "0.30.0" }
wasmtime-environ = { path = "crates/environ", version = "0.29.0" } wasmtime-environ = { path = "crates/environ", version = "0.30.0" }
wasmtime-jit = { path = "crates/jit", version = "0.29.0" } wasmtime-jit = { path = "crates/jit", version = "0.30.0" }
wasmtime-wast = { path = "crates/wast", version = "0.29.0" } wasmtime-wast = { path = "crates/wast", version = "0.30.0" }
wasmtime-wasi = { path = "crates/wasi", version = "0.29.0" } wasmtime-wasi = { path = "crates/wasi", version = "0.30.0" }
wasmtime-wasi-crypto = { path = "crates/wasi-crypto", version = "0.29.0", optional = true } wasmtime-wasi-crypto = { path = "crates/wasi-crypto", version = "0.30.0", optional = true }
wasmtime-wasi-nn = { path = "crates/wasi-nn", version = "0.29.0", optional = true } wasmtime-wasi-nn = { path = "crates/wasi-nn", version = "0.30.0", optional = true }
structopt = { version = "0.3.5", features = ["color", "suggestions"] } structopt = { version = "0.3.5", features = ["color", "suggestions"] }
object = { version = "0.26.0", default-features = false, features = ["write"] } object = { version = "0.26.0", default-features = false, features = ["write"] }
anyhow = "1.0.19" anyhow = "1.0.19"

View File

@@ -4,6 +4,71 @@
## Unreleased ## Unreleased
## 0.30.0
Released 2021-09-17.
### Security Fixes
* [CVE-2021-39216](https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-v4cp-h94r-m7xf):
Fixed a use after free passing `externref`s to Wasm in Wasmtime.
* [CVE-2021-39218](https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-4873-36h9-wv49):
Fixed an out-of-bounds read/write and invalid free with `externref`s and GC
safepoints in Wasmtime.
* [CVE-2021-39219](https://github.com/bytecodealliance/wasmtime/security/advisories/GHSA-q879-9g95-56mx):
Fixed a bug where using two different `Engine`s with the same `Linker`-define
functions caused unsafety without `unsafe` blocks.
### Added
* Added experimental support for the in-progress 64-bit memories Wasm proposal.
* Added support to build Wasmtime without the compiler. This lets you run
pre-compiled Wasm modules, without the ability (or potential attack surface)
of compiling new Wasm modules. The compilation functionality is gated by the
on-by-default `cranelift` cargo feature.
* Added support for NaN canonicalization with SIMD vectors.
* Added support for differential fuzzing against V8's Wasm engine.
* Added support for fuzzing against the Wasm spec interpreter.
* Enabled SIMD fuzzing on oss-fuzz.
### Changed
* A variety of performance improvements to loading pre-compiled modules.
* A variety of performance improvements to function calls, both through Rust and
the C API.
* Leaf functions that do not use the stack no longer bump the frame pointer on
aarch64 and s390x.
* Many updates and expanded instruction support to the in-progress CLIF
interpreter.
* Expanded fuzzing of reference types and GC.
### Fixed
* A number of fixes to both aarch64 and x86_64 support for the Wasm SIMD
proposal and the underlying CLIF vector instructions.
* Fixed a potential infinite loop in the SSA computation for
`cranelift-frontend`. This was not reachable from `cranelift-wasm` or
Wasmtime, but might have affected general Cranelift users.
### Removed
* The `wasmtime wasm2obj` subcommand has been removed. Generating raw object
files for linking natively is no longer supported. Use the `wasmtime compile`
subcommand to pre-compile a Wasm module and `wasmtime run` to run pre-compiled
Wasm modules.
## 0.29.0 ## 0.29.0
Released 2021-08-02. Released 2021-08-02.

View File

@@ -15,20 +15,20 @@ path = "src/clif-util.rs"
[dependencies] [dependencies]
cfg-if = "1.0" cfg-if = "1.0"
cranelift-codegen = { path = "codegen", version = "0.76.0" } cranelift-codegen = { path = "codegen", version = "0.77.0" }
cranelift-entity = { path = "entity", version = "0.76.0" } cranelift-entity = { path = "entity", version = "0.77.0" }
cranelift-interpreter = { path = "interpreter", version = "0.76.0" } cranelift-interpreter = { path = "interpreter", version = "0.77.0" }
cranelift-reader = { path = "reader", version = "0.76.0" } cranelift-reader = { path = "reader", version = "0.77.0" }
cranelift-frontend = { path = "frontend", version = "0.76.0" } cranelift-frontend = { path = "frontend", version = "0.77.0" }
cranelift-serde = { path = "serde", version = "0.76.0", optional = true } cranelift-serde = { path = "serde", version = "0.77.0", optional = true }
cranelift-wasm = { path = "wasm", version = "0.76.0", optional = true } cranelift-wasm = { path = "wasm", version = "0.77.0", optional = true }
cranelift-native = { path = "native", version = "0.76.0" } cranelift-native = { path = "native", version = "0.77.0" }
cranelift-filetests = { path = "filetests", version = "0.73.0" } cranelift-filetests = { path = "filetests", version = "0.73.0" }
cranelift-module = { path = "module", version = "0.76.0" } cranelift-module = { path = "module", version = "0.77.0" }
cranelift-object = { path = "object", version = "0.76.0" } cranelift-object = { path = "object", version = "0.77.0" }
cranelift-jit = { path = "jit", version = "0.76.0" } cranelift-jit = { path = "jit", version = "0.77.0" }
cranelift-preopt = { path = "preopt", version = "0.76.0" } cranelift-preopt = { path = "preopt", version = "0.77.0" }
cranelift = { path = "umbrella", version = "0.76.0" } cranelift = { path = "umbrella", version = "0.77.0" }
cranelift-fuzzgen = { path = "fuzzgen", version = "0.75.0" } cranelift-fuzzgen = { path = "fuzzgen", version = "0.75.0" }
filecheck = "0.5.0" filecheck = "0.5.0"
log = "0.4.8" log = "0.4.8"
@@ -36,7 +36,7 @@ termcolor = "1.1.2"
capstone = { version = "0.9.0", optional = true } capstone = { version = "0.9.0", optional = true }
wat = { version = "1.0.36", optional = true } wat = { version = "1.0.36", optional = true }
target-lexicon = { version = "0.12", features = ["std"] } target-lexicon = { version = "0.12", features = ["std"] }
peepmatic-souper = { path = "./peepmatic/crates/souper", version = "0.76.0", optional = true } peepmatic-souper = { path = "./peepmatic/crates/souper", version = "0.77.0", optional = true }
pretty_env_logger = "0.4.0" pretty_env_logger = "0.4.0"
rayon = { version = "1", optional = true } rayon = { version = "1", optional = true }
file-per-thread-logger = "0.1.2" file-per-thread-logger = "0.1.2"

View File

@@ -1,7 +1,7 @@
[package] [package]
authors = ["The Cranelift Project Developers"] authors = ["The Cranelift Project Developers"]
name = "cranelift-bforest" name = "cranelift-bforest"
version = "0.76.0" version = "0.77.0"
description = "A forest of B+-trees" description = "A forest of B+-trees"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
documentation = "https://docs.rs/cranelift-bforest" documentation = "https://docs.rs/cranelift-bforest"
@@ -12,7 +12,7 @@ keywords = ["btree", "forest", "set", "map"]
edition = "2018" edition = "2018"
[dependencies] [dependencies]
cranelift-entity = { path = "../entity", version = "0.76.0", default-features = false } cranelift-entity = { path = "../entity", version = "0.77.0", default-features = false }
[badges] [badges]
maintenance = { status = "experimental" } maintenance = { status = "experimental" }

View File

@@ -1,7 +1,7 @@
[package] [package]
authors = ["The Cranelift Project Developers"] authors = ["The Cranelift Project Developers"]
name = "cranelift-codegen" name = "cranelift-codegen"
version = "0.76.0" version = "0.77.0"
description = "Low-level code generator library" description = "Low-level code generator library"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
documentation = "https://docs.rs/cranelift-codegen" documentation = "https://docs.rs/cranelift-codegen"
@@ -13,9 +13,9 @@ build = "build.rs"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
cranelift-codegen-shared = { path = "./shared", version = "0.76.0" } cranelift-codegen-shared = { path = "./shared", version = "0.77.0" }
cranelift-entity = { path = "../entity", version = "0.76.0" } cranelift-entity = { path = "../entity", version = "0.77.0" }
cranelift-bforest = { path = "../bforest", version = "0.76.0" } cranelift-bforest = { path = "../bforest", version = "0.77.0" }
hashbrown = { version = "0.9.1", optional = true } hashbrown = { version = "0.9.1", optional = true }
target-lexicon = "0.12" target-lexicon = "0.12"
log = { version = "0.4.6", default-features = false } log = { version = "0.4.6", default-features = false }
@@ -23,9 +23,9 @@ serde = { version = "1.0.94", features = ["derive"], optional = true }
bincode = { version = "1.2.1", optional = true } bincode = { version = "1.2.1", optional = true }
gimli = { version = "0.25.0", default-features = false, features = ["write"], optional = true } gimli = { version = "0.25.0", default-features = false, features = ["write"], optional = true }
smallvec = { version = "1.6.1" } smallvec = { version = "1.6.1" }
peepmatic = { path = "../peepmatic", optional = true, version = "0.76.0" } peepmatic = { path = "../peepmatic", optional = true, version = "0.77.0" }
peepmatic-traits = { path = "../peepmatic/crates/traits", optional = true, version = "0.76.0" } peepmatic-traits = { path = "../peepmatic/crates/traits", optional = true, version = "0.77.0" }
peepmatic-runtime = { path = "../peepmatic/crates/runtime", optional = true, version = "0.76.0" } peepmatic-runtime = { path = "../peepmatic/crates/runtime", optional = true, version = "0.77.0" }
regalloc = { version = "0.0.31" } regalloc = { version = "0.0.31" }
souper-ir = { version = "2.1.0", optional = true } souper-ir = { version = "2.1.0", optional = true }
wast = { version = "37.0.0", optional = true } wast = { version = "37.0.0", optional = true }
@@ -38,7 +38,7 @@ wast = { version = "37.0.0", optional = true }
criterion = "0.3" criterion = "0.3"
[build-dependencies] [build-dependencies]
cranelift-codegen-meta = { path = "meta", version = "0.76.0" } cranelift-codegen-meta = { path = "meta", version = "0.77.0" }
[features] [features]
default = ["std", "unwind"] default = ["std", "unwind"]

View File

@@ -1,7 +1,7 @@
[package] [package]
name = "cranelift-codegen-meta" name = "cranelift-codegen-meta"
authors = ["The Cranelift Project Developers"] authors = ["The Cranelift Project Developers"]
version = "0.76.0" version = "0.77.0"
description = "Metaprogram for cranelift-codegen code generator library" description = "Metaprogram for cranelift-codegen code generator library"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/bytecodealliance/wasmtime" repository = "https://github.com/bytecodealliance/wasmtime"
@@ -13,8 +13,8 @@ edition = "2018"
# rustdoc-args = [ "--document-private-items" ] # rustdoc-args = [ "--document-private-items" ]
[dependencies] [dependencies]
cranelift-codegen-shared = { path = "../shared", version = "0.76.0" } cranelift-codegen-shared = { path = "../shared", version = "0.77.0" }
cranelift-entity = { path = "../../entity", version = "0.76.0" } cranelift-entity = { path = "../../entity", version = "0.77.0" }
[badges] [badges]
maintenance = { status = "experimental" } maintenance = { status = "experimental" }

View File

@@ -1,7 +1,7 @@
[package] [package]
authors = ["The Cranelift Project Developers"] authors = ["The Cranelift Project Developers"]
name = "cranelift-codegen-shared" name = "cranelift-codegen-shared"
version = "0.76.0" version = "0.77.0"
description = "For code shared between cranelift-codegen-meta and cranelift-codegen" description = "For code shared between cranelift-codegen-meta and cranelift-codegen"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/bytecodealliance/wasmtime" repository = "https://github.com/bytecodealliance/wasmtime"

View File

@@ -1,7 +1,7 @@
[package] [package]
authors = ["The Cranelift Project Developers"] authors = ["The Cranelift Project Developers"]
name = "cranelift-entity" name = "cranelift-entity"
version = "0.76.0" version = "0.77.0"
description = "Data structures using entity references as mapping keys" description = "Data structures using entity references as mapping keys"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
documentation = "https://docs.rs/cranelift-entity" documentation = "https://docs.rs/cranelift-entity"

View File

@@ -10,12 +10,12 @@ publish = false
edition = "2018" edition = "2018"
[dependencies] [dependencies]
cranelift-codegen = { path = "../codegen", version = "0.76.0", features = ["testing_hooks"] } cranelift-codegen = { path = "../codegen", version = "0.77.0", features = ["testing_hooks"] }
cranelift-frontend = { path = "../frontend", version = "0.76.0" } cranelift-frontend = { path = "../frontend", version = "0.77.0" }
cranelift-interpreter = { path = "../interpreter", version = "0.76.0" } cranelift-interpreter = { path = "../interpreter", version = "0.77.0" }
cranelift-native = { path = "../native", version = "0.76.0" } cranelift-native = { path = "../native", version = "0.77.0" }
cranelift-reader = { path = "../reader", version = "0.76.0" } cranelift-reader = { path = "../reader", version = "0.77.0" }
cranelift-preopt = { path = "../preopt", version = "0.76.0" } cranelift-preopt = { path = "../preopt", version = "0.77.0" }
file-per-thread-logger = "0.1.2" file-per-thread-logger = "0.1.2"
filecheck = "0.5.0" filecheck = "0.5.0"
gimli = { version = "0.25.0", default-features = false, features = ["read"] } gimli = { version = "0.25.0", default-features = false, features = ["read"] }

View File

@@ -1,7 +1,7 @@
[package] [package]
authors = ["The Cranelift Project Developers"] authors = ["The Cranelift Project Developers"]
name = "cranelift-frontend" name = "cranelift-frontend"
version = "0.76.0" version = "0.77.0"
description = "Cranelift IR builder helper" description = "Cranelift IR builder helper"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
documentation = "https://docs.rs/cranelift-frontend" documentation = "https://docs.rs/cranelift-frontend"
@@ -11,7 +11,7 @@ readme = "README.md"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
cranelift-codegen = { path = "../codegen", version = "0.76.0", default-features = false } cranelift-codegen = { path = "../codegen", version = "0.77.0", default-features = false }
target-lexicon = "0.12" target-lexicon = "0.12"
log = { version = "0.4.6", default-features = false } log = { version = "0.4.6", default-features = false }
hashbrown = { version = "0.9.1", optional = true } hashbrown = { version = "0.9.1", optional = true }

View File

@@ -11,7 +11,7 @@ publish = false
[dependencies] [dependencies]
cranelift = { path = "../umbrella", version = "0.76.0" } cranelift = { path = "../umbrella", version = "0.77.0" }
anyhow = "1.0.19" anyhow = "1.0.19"
arbitrary = "1.0.0" arbitrary = "1.0.0"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "cranelift-interpreter" name = "cranelift-interpreter"
version = "0.76.0" version = "0.77.0"
authors = ["The Cranelift Project Developers"] authors = ["The Cranelift Project Developers"]
description = "Interpret Cranelift IR" description = "Interpret Cranelift IR"
repository = "https://github.com/bytecodealliance/wasmtime" repository = "https://github.com/bytecodealliance/wasmtime"
@@ -11,15 +11,15 @@ readme = "README.md"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
cranelift-codegen = { path = "../codegen", version = "0.76.0", features = ["all-arch"] } cranelift-codegen = { path = "../codegen", version = "0.77.0", features = ["all-arch"] }
cranelift-entity = { path = "../entity", version = "0.76.0" } cranelift-entity = { path = "../entity", version = "0.77.0" }
log = { version = "0.4.8", default-features = false } log = { version = "0.4.8", default-features = false }
smallvec = "1.6.1" smallvec = "1.6.1"
thiserror = "1.0.15" thiserror = "1.0.15"
[dev-dependencies] [dev-dependencies]
cranelift-frontend = { path = "../frontend", version = "0.76.0" } cranelift-frontend = { path = "../frontend", version = "0.77.0" }
cranelift-reader = { path = "../reader", version = "0.76.0" } cranelift-reader = { path = "../reader", version = "0.77.0" }
[badges] [badges]
maintenance = { status = "experimental" } maintenance = { status = "experimental" }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "cranelift-jit" name = "cranelift-jit"
version = "0.76.0" version = "0.77.0"
authors = ["The Cranelift Project Developers"] authors = ["The Cranelift Project Developers"]
description = "A JIT library backed by Cranelift" description = "A JIT library backed by Cranelift"
repository = "https://github.com/bytecodealliance/wasmtime" repository = "https://github.com/bytecodealliance/wasmtime"
@@ -10,10 +10,10 @@ readme = "README.md"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
cranelift-module = { path = "../module", version = "0.76.0" } cranelift-module = { path = "../module", version = "0.77.0" }
cranelift-native = { path = "../native", version = "0.76.0" } cranelift-native = { path = "../native", version = "0.77.0" }
cranelift-codegen = { path = "../codegen", version = "0.76.0", default-features = false, features = ["std"] } cranelift-codegen = { path = "../codegen", version = "0.77.0", default-features = false, features = ["std"] }
cranelift-entity = { path = "../entity", version = "0.76.0" } cranelift-entity = { path = "../entity", version = "0.77.0" }
anyhow = "1.0" anyhow = "1.0"
region = "2.2.0" region = "2.2.0"
libc = { version = "0.2.42" } libc = { version = "0.2.42" }
@@ -29,9 +29,9 @@ selinux-fix = ['memmap2']
default = [] default = []
[dev-dependencies] [dev-dependencies]
cranelift = { path = "../umbrella", version = "0.76.0" } cranelift = { path = "../umbrella", version = "0.77.0" }
cranelift-frontend = { path = "../frontend", version = "0.76.0" } cranelift-frontend = { path = "../frontend", version = "0.77.0" }
cranelift-entity = { path = "../entity", version = "0.76.0" } cranelift-entity = { path = "../entity", version = "0.77.0" }
[badges] [badges]
maintenance = { status = "experimental" } maintenance = { status = "experimental" }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "cranelift-module" name = "cranelift-module"
version = "0.76.0" version = "0.77.0"
authors = ["The Cranelift Project Developers"] authors = ["The Cranelift Project Developers"]
description = "Support for linking functions and data with Cranelift" description = "Support for linking functions and data with Cranelift"
repository = "https://github.com/bytecodealliance/wasmtime" repository = "https://github.com/bytecodealliance/wasmtime"
@@ -11,8 +11,8 @@ readme = "README.md"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
cranelift-codegen = { path = "../codegen", version = "0.76.0", default-features = false } cranelift-codegen = { path = "../codegen", version = "0.77.0", default-features = false }
cranelift-entity = { path = "../entity", version = "0.76.0" } cranelift-entity = { path = "../entity", version = "0.77.0" }
hashbrown = { version = "0.9.1", optional = true } hashbrown = { version = "0.9.1", optional = true }
log = { version = "0.4.6", default-features = false } log = { version = "0.4.6", default-features = false }
anyhow = "1.0" anyhow = "1.0"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "cranelift-native" name = "cranelift-native"
version = "0.76.0" version = "0.77.0"
authors = ["The Cranelift Project Developers"] authors = ["The Cranelift Project Developers"]
description = "Support for targeting the host with Cranelift" description = "Support for targeting the host with Cranelift"
documentation = "https://docs.rs/cranelift-native" documentation = "https://docs.rs/cranelift-native"
@@ -11,7 +11,7 @@ readme = "README.md"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
cranelift-codegen = { path = "../codegen", version = "0.76.0", default-features = false } cranelift-codegen = { path = "../codegen", version = "0.77.0", default-features = false }
target-lexicon = "0.12" target-lexicon = "0.12"
[target.'cfg(target_arch = "s390x")'.dependencies] [target.'cfg(target_arch = "s390x")'.dependencies]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "cranelift-object" name = "cranelift-object"
version = "0.76.0" version = "0.77.0"
authors = ["The Cranelift Project Developers"] authors = ["The Cranelift Project Developers"]
description = "Emit Cranelift output to native object files with `object`" description = "Emit Cranelift output to native object files with `object`"
repository = "https://github.com/bytecodealliance/wasmtime" repository = "https://github.com/bytecodealliance/wasmtime"
@@ -10,16 +10,16 @@ readme = "README.md"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
cranelift-module = { path = "../module", version = "0.76.0" } cranelift-module = { path = "../module", version = "0.77.0" }
cranelift-codegen = { path = "../codegen", version = "0.76.0", default-features = false, features = ["std"] } cranelift-codegen = { path = "../codegen", version = "0.77.0", default-features = false, features = ["std"] }
object = { version = "0.26.0", default-features = false, features = ["write"] } object = { version = "0.26.0", default-features = false, features = ["write"] }
target-lexicon = "0.12" target-lexicon = "0.12"
anyhow = "1.0" anyhow = "1.0"
log = { version = "0.4.6", default-features = false } log = { version = "0.4.6", default-features = false }
[dev-dependencies] [dev-dependencies]
cranelift-frontend = { path = "../frontend", version = "0.76.0" } cranelift-frontend = { path = "../frontend", version = "0.77.0" }
cranelift-entity = { path = "../entity", version = "0.76.0" } cranelift-entity = { path = "../entity", version = "0.77.0" }
[badges] [badges]
maintenance = { status = "experimental" } maintenance = { status = "experimental" }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "peepmatic" name = "peepmatic"
version = "0.76.0" version = "0.77.0"
authors = ["Nick Fitzgerald <fitzgen@gmail.com>"] authors = ["Nick Fitzgerald <fitzgen@gmail.com>"]
edition = "2018" edition = "2018"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
@@ -10,13 +10,13 @@ description = "DSL and compiler for generating peephole optimizers"
[dependencies] [dependencies]
anyhow = "1.0.27" anyhow = "1.0.27"
peepmatic-automata = { version = "0.76.0", path = "crates/automata", features = ["dot"] } peepmatic-automata = { version = "0.77.0", path = "crates/automata", features = ["dot"] }
peepmatic-macro = { version = "0.76.0", path = "crates/macro" } peepmatic-macro = { version = "0.77.0", path = "crates/macro" }
peepmatic-runtime = { version = "0.76.0", path = "crates/runtime", features = ["construct"] } peepmatic-runtime = { version = "0.77.0", path = "crates/runtime", features = ["construct"] }
peepmatic-traits = { version = "0.76.0", path = "crates/traits" } peepmatic-traits = { version = "0.77.0", path = "crates/traits" }
serde = { version = "1.0.105", features = ["derive"] } serde = { version = "1.0.105", features = ["derive"] }
wast = "37.0.0" wast = "37.0.0"
z3 = { version = "0.7.1", features = ["static-link-z3"] } z3 = { version = "0.7.1", features = ["static-link-z3"] }
[dev-dependencies] [dev-dependencies]
peepmatic-test-operator = { version = "0.76.0", path = "crates/test-operator" } peepmatic-test-operator = { version = "0.77.0", path = "crates/test-operator" }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "peepmatic-automata" name = "peepmatic-automata"
version = "0.76.0" version = "0.77.0"
authors = ["Nick Fitzgerald <fitzgen@gmail.com>"] authors = ["Nick Fitzgerald <fitzgen@gmail.com>"]
edition = "2018" edition = "2018"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "peepmatic-macro" name = "peepmatic-macro"
version = "0.76.0" version = "0.77.0"
authors = ["Nick Fitzgerald <fitzgen@gmail.com>"] authors = ["Nick Fitzgerald <fitzgen@gmail.com>"]
edition = "2018" edition = "2018"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "peepmatic-runtime" name = "peepmatic-runtime"
version = "0.76.0" version = "0.77.0"
authors = ["Nick Fitzgerald <fitzgen@gmail.com>"] authors = ["Nick Fitzgerald <fitzgen@gmail.com>"]
edition = "2018" edition = "2018"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
@@ -12,14 +12,14 @@ description = "Runtime support for peepmatic peephole optimizers"
bincode = "1.2.1" bincode = "1.2.1"
bumpalo = "3.2.0" bumpalo = "3.2.0"
log = "0.4.8" log = "0.4.8"
peepmatic-automata = { version = "0.76.0", path = "../automata", features = ["serde"] } peepmatic-automata = { version = "0.77.0", path = "../automata", features = ["serde"] }
peepmatic-traits = { version = "0.76.0", path = "../traits" } peepmatic-traits = { version = "0.77.0", path = "../traits" }
serde = { version = "1.0.105", features = ["derive"] } serde = { version = "1.0.105", features = ["derive"] }
thiserror = "1.0.15" thiserror = "1.0.15"
wast = { version = "37.0.0", optional = true } wast = { version = "37.0.0", optional = true }
[dev-dependencies] [dev-dependencies]
peepmatic-test-operator = { version = "0.76.0", path = "../test-operator" } peepmatic-test-operator = { version = "0.77.0", path = "../test-operator" }
serde_test = "1.0.114" serde_test = "1.0.114"
[features] [features]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "peepmatic-souper" name = "peepmatic-souper"
version = "0.76.0" version = "0.77.0"
authors = ["Nick Fitzgerald <fitzgen@gmail.com>"] authors = ["Nick Fitzgerald <fitzgen@gmail.com>"]
edition = "2018" edition = "2018"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
@@ -14,6 +14,6 @@ souper-ir = { version = "2.1.0", features = ["parse"] }
log = "0.4.8" log = "0.4.8"
[dev-dependencies] [dev-dependencies]
peepmatic = { path = "../..", version = "0.76.0" } peepmatic = { path = "../..", version = "0.77.0" }
peepmatic-test-operator = { version = "0.76.0", path = "../test-operator" } peepmatic-test-operator = { version = "0.77.0", path = "../test-operator" }
wast = "37.0.0" wast = "37.0.0"

View File

@@ -2,13 +2,13 @@
name = "peepmatic-test-operator" name = "peepmatic-test-operator"
description = "Operator for usage in peepmatic tests" description = "Operator for usage in peepmatic tests"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
version = "0.76.0" version = "0.77.0"
authors = ["Nick Fitzgerald <fitzgen@gmail.com>"] authors = ["Nick Fitzgerald <fitzgen@gmail.com>"]
edition = "2018" edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
peepmatic-traits = { version = "0.76.0", path = "../traits" } peepmatic-traits = { version = "0.77.0", path = "../traits" }
serde = { version = "1.0.105", features = ["derive"] } serde = { version = "1.0.105", features = ["derive"] }
wast = "37.0.0" wast = "37.0.0"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "peepmatic-traits" name = "peepmatic-traits"
version = "0.76.0" version = "0.77.0"
authors = ["Nick Fitzgerald <fitzgen@gmail.com>"] authors = ["Nick Fitzgerald <fitzgen@gmail.com>"]
edition = "2018" edition = "2018"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"

View File

@@ -1,7 +1,7 @@
[package] [package]
authors = ["The Cranelift Project Developers"] authors = ["The Cranelift Project Developers"]
name = "cranelift-preopt" name = "cranelift-preopt"
version = "0.76.0" version = "0.77.0"
description = "Support for optimizations in Cranelift" description = "Support for optimizations in Cranelift"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
documentation = "https://docs.rs/cranelift-preopt" documentation = "https://docs.rs/cranelift-preopt"
@@ -12,8 +12,8 @@ keywords = ["optimize", "compile", "compiler", "jit"]
edition = "2018" edition = "2018"
[dependencies] [dependencies]
cranelift-codegen = { path = "../codegen", version = "0.76.0", default-features = false } cranelift-codegen = { path = "../codegen", version = "0.77.0", default-features = false }
cranelift-entity = { path = "../entity", version = "0.76.0" } cranelift-entity = { path = "../entity", version = "0.77.0" }
# This is commented out because it doesn't build on Rust 1.25.0, which # This is commented out because it doesn't build on Rust 1.25.0, which
# cranelift currently supports. # cranelift currently supports.
# rustc_apfloat = { version = "0.1.2", default-features = false } # rustc_apfloat = { version = "0.1.2", default-features = false }

View File

@@ -1,7 +1,7 @@
[package] [package]
authors = ["The Cranelift Project Developers"] authors = ["The Cranelift Project Developers"]
name = "cranelift-reader" name = "cranelift-reader"
version = "0.76.0" version = "0.77.0"
description = "Cranelift textual IR reader" description = "Cranelift textual IR reader"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
documentation = "https://docs.rs/cranelift-reader" documentation = "https://docs.rs/cranelift-reader"
@@ -10,7 +10,7 @@ readme = "README.md"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
cranelift-codegen = { path = "../codegen", version = "0.76.0" } cranelift-codegen = { path = "../codegen", version = "0.77.0" }
smallvec = "1.6.1" smallvec = "1.6.1"
target-lexicon = "0.12" target-lexicon = "0.12"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "cranelift-serde" name = "cranelift-serde"
version = "0.76.0" version = "0.77.0"
authors = ["The Cranelift Project Developers"] authors = ["The Cranelift Project Developers"]
description = "Serializer/Deserializer for Cranelift IR" description = "Serializer/Deserializer for Cranelift IR"
repository = "https://github.com/bytecodealliance/wasmtime" repository = "https://github.com/bytecodealliance/wasmtime"
@@ -18,8 +18,8 @@ clap = "2.32.0"
serde = "1.0.8" serde = "1.0.8"
serde_derive = "1.0.75" serde_derive = "1.0.75"
serde_json = "1.0.26" serde_json = "1.0.26"
cranelift-codegen = { path = "../codegen", version = "0.76.0", features = ["enable-serde"] } cranelift-codegen = { path = "../codegen", version = "0.77.0", features = ["enable-serde"] }
cranelift-reader = { path = "../reader", version = "0.76.0" } cranelift-reader = { path = "../reader", version = "0.77.0" }
[badges] [badges]
maintenance = { status = "experimental" } maintenance = { status = "experimental" }

View File

@@ -1,7 +1,7 @@
[package] [package]
authors = ["The Cranelift Project Developers"] authors = ["The Cranelift Project Developers"]
name = "cranelift" name = "cranelift"
version = "0.76.0" version = "0.77.0"
description = "Umbrella for commonly-used cranelift crates" description = "Umbrella for commonly-used cranelift crates"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
documentation = "https://docs.rs/cranelift" documentation = "https://docs.rs/cranelift"
@@ -12,8 +12,8 @@ keywords = ["compile", "compiler", "jit"]
edition = "2018" edition = "2018"
[dependencies] [dependencies]
cranelift-codegen = { path = "../codegen", version = "0.76.0", default-features = false } cranelift-codegen = { path = "../codegen", version = "0.77.0", default-features = false }
cranelift-frontend = { path = "../frontend", version = "0.76.0", default-features = false } cranelift-frontend = { path = "../frontend", version = "0.77.0", default-features = false }
[features] [features]
default = ["std"] default = ["std"]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "cranelift-wasm" name = "cranelift-wasm"
version = "0.76.0" version = "0.77.0"
authors = ["The Cranelift Project Developers"] authors = ["The Cranelift Project Developers"]
description = "Translator from WebAssembly to Cranelift IR" description = "Translator from WebAssembly to Cranelift IR"
documentation = "https://docs.rs/cranelift-wasm" documentation = "https://docs.rs/cranelift-wasm"
@@ -13,10 +13,10 @@ edition = "2018"
[dependencies] [dependencies]
wasmparser = { version = "0.80", default-features = false } wasmparser = { version = "0.80", default-features = false }
cranelift-codegen = { path = "../codegen", version = "0.76.0", default-features = false } cranelift-codegen = { path = "../codegen", version = "0.77.0", default-features = false }
cranelift-entity = { path = "../entity", version = "0.76.0" } cranelift-entity = { path = "../entity", version = "0.77.0" }
cranelift-frontend = { path = "../frontend", version = "0.76.0", default-features = false } cranelift-frontend = { path = "../frontend", version = "0.77.0", default-features = false }
wasmtime-types = { path = "../../crates/types", version = "0.29.0" } wasmtime-types = { path = "../../crates/types", version = "0.30.0" }
hashbrown = { version = "0.9.1", optional = true } hashbrown = { version = "0.9.1", optional = true }
itertools = "0.10.0" itertools = "0.10.0"
log = { version = "0.4.6", default-features = false } log = { version = "0.4.6", default-features = false }
@@ -27,7 +27,7 @@ smallvec = "1.6.1"
wat = "1.0.37" wat = "1.0.37"
target-lexicon = "0.12" target-lexicon = "0.12"
# Enable the riscv feature for cranelift-codegen, as some tests require it # Enable the riscv feature for cranelift-codegen, as some tests require it
cranelift-codegen = { path = "../codegen", version = "0.76.0", default-features = false, features = ["riscv"] } cranelift-codegen = { path = "../codegen", version = "0.77.0", default-features = false, features = ["riscv"] }
[features] [features]
default = ["std"] default = ["std"]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-cache" name = "wasmtime-cache"
version = "0.29.0" version = "0.30.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "Support for automatic module caching with Wasmtime" description = "Support for automatic module caching with Wasmtime"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-cranelift" name = "wasmtime-cranelift"
version = "0.29.0" version = "0.30.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "Integration between Cranelift and Wasmtime" description = "Integration between Cranelift and Wasmtime"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
@@ -12,12 +12,12 @@ edition = "2018"
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"
wasmtime-environ = { path = "../environ", version = "0.29.0" } wasmtime-environ = { path = "../environ", version = "0.30.0" }
cranelift-wasm = { path = "../../cranelift/wasm", version = "0.76.0" } cranelift-wasm = { path = "../../cranelift/wasm", version = "0.77.0" }
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.76.0" } cranelift-codegen = { path = "../../cranelift/codegen", version = "0.77.0" }
cranelift-frontend = { path = "../../cranelift/frontend", version = "0.76.0" } cranelift-frontend = { path = "../../cranelift/frontend", version = "0.77.0" }
cranelift-entity = { path = "../../cranelift/entity", version = "0.76.0" } cranelift-entity = { path = "../../cranelift/entity", version = "0.77.0" }
cranelift-native = { path = '../../cranelift/native', version = '0.76.0' } cranelift-native = { path = '../../cranelift/native', version = '0.77.0' }
wasmparser = "0.80.0" wasmparser = "0.80.0"
target-lexicon = "0.12" target-lexicon = "0.12"
gimli = { version = "0.25.0", default-features = false, features = ['read', 'std'] } gimli = { version = "0.25.0", default-features = false, features = ['read', 'std'] }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-environ" name = "wasmtime-environ"
version = "0.29.0" version = "0.30.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "Standalone environment support for WebAsssembly code in Cranelift" description = "Standalone environment support for WebAsssembly code in Cranelift"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
@@ -12,8 +12,8 @@ edition = "2018"
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"
cranelift-entity = { path = "../../cranelift/entity", version = "0.76.0" } cranelift-entity = { path = "../../cranelift/entity", version = "0.77.0" }
wasmtime-types = { path = "../types", version = "0.29.0" } wasmtime-types = { path = "../types", version = "0.30.0" }
wasmparser = "0.80" wasmparser = "0.80"
indexmap = { version = "1.0.2", features = ["serde-1"] } indexmap = { version = "1.0.2", features = ["serde-1"] }
thiserror = "1.0.4" thiserror = "1.0.4"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-fiber" name = "wasmtime-fiber"
version = "0.29.0" version = "0.30.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "Fiber support for Wasmtime" description = "Fiber support for Wasmtime"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"

View File

@@ -266,7 +266,7 @@ mod tests {
let expected = r#" let expected = r#"
(module (module
(type (;0;) (func)) (type (;0;) (func (result externref externref externref)))
(type (;1;) (func (param externref externref externref externref externref))) (type (;1;) (func (param externref externref externref externref externref)))
(type (;2;) (func (param externref externref externref))) (type (;2;) (func (param externref externref externref)))
(type (;3;) (func (result externref externref externref))) (type (;3;) (func (result externref externref externref)))
@@ -274,11 +274,12 @@ mod tests {
(import "" "take_refs" (func (;1;) (type 2))) (import "" "take_refs" (func (;1;) (type 2)))
(import "" "make_refs" (func (;2;) (type 3))) (import "" "make_refs" (func (;2;) (type 3)))
(func (;3;) (type 1) (param externref externref externref externref externref) (func (;3;) (type 1) (param externref externref externref externref externref)
(local externref i32) (local externref)
i32.const 100
local.set 6
loop ;; label = @1 loop ;; label = @1
call 0 call 0
drop
drop
drop
i32.const 0 i32.const 0
table.get 0 table.get 0
drop drop
@@ -319,11 +320,7 @@ mod tests {
call 1 call 1
call 2 call 2
call 1 call 1
local.get 6 br 0 (;@1;)
i32.const -1
i32.add
local.tee 6
br_if 0 (;@1;)
end) end)
(table (;0;) 20 externref) (table (;0;) 20 externref)
(export "run" (func 3))) (export "run" (func 3)))

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-jit" name = "wasmtime-jit"
version = "0.29.0" version = "0.30.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "JIT-style execution for WebAsssembly code in Cranelift" description = "JIT-style execution for WebAsssembly code in Cranelift"
documentation = "https://docs.rs/wasmtime-jit" documentation = "https://docs.rs/wasmtime-jit"
@@ -11,8 +11,8 @@ repository = "https://github.com/bytecodealliance/wasmtime"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
wasmtime-environ = { path = "../environ", version = "0.29.0" } wasmtime-environ = { path = "../environ", version = "0.30.0" }
wasmtime-runtime = { path = "../runtime", version = "0.29.0" } wasmtime-runtime = { path = "../runtime", version = "0.30.0" }
region = "2.2.0" region = "2.2.0"
thiserror = "1.0.4" thiserror = "1.0.4"
target-lexicon = { version = "0.12.0", default-features = false } target-lexicon = { version = "0.12.0", default-features = false }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "lightbeam" name = "lightbeam"
version = "0.29.0" version = "0.30.0"
authors = ["The Lightbeam Project Developers"] authors = ["The Lightbeam Project Developers"]
description = "An optimising one-pass streaming compiler for WebAssembly" description = "An optimising one-pass streaming compiler for WebAssembly"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
@@ -13,7 +13,7 @@ edition = "2018"
[dependencies] [dependencies]
arrayvec = "0.5" arrayvec = "0.5"
capstone = "0.9.0" capstone = "0.9.0"
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.76.0" } cranelift-codegen = { path = "../../cranelift/codegen", version = "0.77.0" }
derive_more = "0.99" derive_more = "0.99"
dynasm = "1.0.0" dynasm = "1.0.0"
dynasmrt = "1.0.0" dynasmrt = "1.0.0"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-lightbeam" name = "wasmtime-lightbeam"
version = "0.29.0" version = "0.30.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "Integration between Lightbeam and Wasmtime" description = "Integration between Lightbeam and Wasmtime"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
@@ -15,8 +15,8 @@ edition = "2018"
anyhow = "1.0" anyhow = "1.0"
target-lexicon = "0.12" target-lexicon = "0.12"
gimli = "0.25" gimli = "0.25"
lightbeam = { path = "..", version = "0.29.0" } lightbeam = { path = "..", version = "0.30.0" }
wasmparser = "0.80" wasmparser = "0.80"
cranelift-codegen = { path = "../../../cranelift/codegen", version = "0.76.0" } cranelift-codegen = { path = "../../../cranelift/codegen", version = "0.77.0" }
wasmtime-environ = { path = "../../environ", version = "0.29.0" } wasmtime-environ = { path = "../../environ", version = "0.30.0" }
object = { version = "0.26.0", default-features = false } object = { version = "0.26.0", default-features = false }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-runtime" name = "wasmtime-runtime"
version = "0.29.0" version = "0.30.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "Runtime library support for Wasmtime" description = "Runtime library support for Wasmtime"
documentation = "https://docs.rs/wasmtime-runtime" documentation = "https://docs.rs/wasmtime-runtime"
@@ -11,8 +11,8 @@ repository = "https://github.com/bytecodealliance/wasmtime"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
wasmtime-environ = { path = "../environ", version = "0.29.0" } wasmtime-environ = { path = "../environ", version = "0.30.0" }
wasmtime-fiber = { path = "../fiber", version = "0.29.0", optional = true } wasmtime-fiber = { path = "../fiber", version = "0.30.0", optional = true }
region = "2.1.0" region = "2.1.0"
libc = { version = "0.2.82", default-features = false } libc = { version = "0.2.82", default-features = false }
log = "0.4.8" log = "0.4.8"

View File

@@ -11,10 +11,10 @@ license = "Apache-2.0 WITH LLVM-exception"
cfg-if = "1.0" cfg-if = "1.0"
[dev-dependencies] [dev-dependencies]
wasi-common = { path = "../wasi-common", version = "0.29.0" } wasi-common = { path = "../wasi-common", version = "0.30.0" }
wasi-cap-std-sync = { path = "../wasi-common/cap-std-sync", version = "0.29.0" } wasi-cap-std-sync = { path = "../wasi-common/cap-std-sync", version = "0.30.0" }
wasmtime = { path = "../wasmtime", version = "0.29.0" } wasmtime = { path = "../wasmtime", version = "0.30.0" }
wasmtime-wasi = { path = "../wasi", version = "0.29.0", features = ["tokio"] } wasmtime-wasi = { path = "../wasi", version = "0.30.0", features = ["tokio"] }
target-lexicon = "0.12.0" target-lexicon = "0.12.0"
pretty_env_logger = "0.4.0" pretty_env_logger = "0.4.0"
tempfile = "3.1.0" tempfile = "3.1.0"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-types" name = "wasmtime-types"
version = "0.29.0" version = "0.30.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "WebAssembly type definitions for Cranelift" description = "WebAssembly type definitions for Cranelift"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
@@ -9,7 +9,7 @@ documentation = "https://docs.rs/wasmtime-types"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
cranelift-entity = { path = "../../cranelift/entity", version = "0.76.0", features = ['enable-serde'] } cranelift-entity = { path = "../../cranelift/entity", version = "0.77.0", features = ['enable-serde'] }
serde = { version = "1.0.94", features = ["derive"] } serde = { version = "1.0.94", features = ["derive"] }
thiserror = "1.0.4" thiserror = "1.0.4"
wasmparser = { version = "0.80", default-features = false } wasmparser = { version = "0.80", default-features = false }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasi-common" name = "wasi-common"
version = "0.29.0" version = "0.30.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "WASI implementation in Rust" description = "WASI implementation in Rust"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
@@ -20,7 +20,7 @@ links = "wasi-common-19"
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"
thiserror = "1.0" thiserror = "1.0"
wiggle = { path = "../wiggle", default-features = false, version = "0.29.0" } wiggle = { path = "../wiggle", default-features = false, version = "0.30.0" }
tracing = "0.1.19" tracing = "0.1.19"
cap-std = "0.19.0" cap-std = "0.19.0"
cap-rand = "0.19.0" cap-rand = "0.19.0"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasi-cap-std-sync" name = "wasi-cap-std-sync"
version = "0.29.0" version = "0.30.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "WASI implementation in Rust" description = "WASI implementation in Rust"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
@@ -12,7 +12,7 @@ edition = "2018"
include = ["src/**/*", "README.md", "LICENSE" ] include = ["src/**/*", "README.md", "LICENSE" ]
[dependencies] [dependencies]
wasi-common = { path = "../", version = "0.29.0" } wasi-common = { path = "../", version = "0.30.0" }
async-trait = "0.1" async-trait = "0.1"
anyhow = "1.0" anyhow = "1.0"
cap-std = "0.19.0" cap-std = "0.19.0"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasi-tokio" name = "wasi-tokio"
version = "0.29.0" version = "0.30.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "WASI implementation in Rust" description = "WASI implementation in Rust"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
@@ -11,9 +11,9 @@ edition = "2018"
include = ["src/**/*", "LICENSE" ] include = ["src/**/*", "LICENSE" ]
[dependencies] [dependencies]
wasi-common = { path = "../", version = "0.29.0" } wasi-common = { path = "../", version = "0.30.0" }
wasi-cap-std-sync = { path = "../cap-std-sync", version = "0.29.0" } wasi-cap-std-sync = { path = "../cap-std-sync", version = "0.30.0" }
wiggle = { path = "../../wiggle", version = "0.29.0" } wiggle = { path = "../../wiggle", version = "0.30.0" }
tokio = { version = "1.8.0", features = [ "rt", "fs", "time", "io-util", "net", "io-std", "rt-multi-thread"] } tokio = { version = "1.8.0", features = [ "rt", "fs", "time", "io-util", "net", "io-std", "rt-multi-thread"] }
cap-std = "0.19.0" cap-std = "0.19.0"
cap-fs-ext = "0.19.0" cap-fs-ext = "0.19.0"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-wasi-crypto" name = "wasmtime-wasi-crypto"
version = "0.29.0" version = "0.30.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "Wasmtime implementation of the wasi-crypto API" description = "Wasmtime implementation of the wasi-crypto API"
documentation = "https://docs.rs/wasmtime-wasi-crypto" documentation = "https://docs.rs/wasmtime-wasi-crypto"
@@ -14,8 +14,8 @@ edition = "2018"
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"
wasi-crypto = { path = "spec/implementations/hostcalls/rust", version = "0.1.4" } wasi-crypto = { path = "spec/implementations/hostcalls/rust", version = "0.1.4" }
wasmtime = { path = "../wasmtime", version = "0.29.0", default-features = false } wasmtime = { path = "../wasmtime", version = "0.30.0", default-features = false }
wiggle = { path = "../wiggle", version = "0.29.0" } wiggle = { path = "../wiggle", version = "0.30.0" }
[badges] [badges]
maintenance = { status = "experimental" } maintenance = { status = "experimental" }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-wasi-nn" name = "wasmtime-wasi-nn"
version = "0.29.0" version = "0.30.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "Wasmtime implementation of the wasi-nn API" description = "Wasmtime implementation of the wasi-nn API"
documentation = "https://docs.rs/wasmtime-wasi-nn" documentation = "https://docs.rs/wasmtime-wasi-nn"
@@ -15,10 +15,10 @@ edition = "2018"
# These dependencies are necessary for the witx-generation macros to work: # These dependencies are necessary for the witx-generation macros to work:
anyhow = "1.0" anyhow = "1.0"
log = { version = "0.4", default-features = false } log = { version = "0.4", default-features = false }
wasmtime = { path = "../wasmtime", version = "0.29.0", default-features = false } wasmtime = { path = "../wasmtime", version = "0.30.0", default-features = false }
wasmtime-runtime = { path = "../runtime", version = "0.29.0" } wasmtime-runtime = { path = "../runtime", version = "0.30.0" }
wasmtime-wasi = { path = "../wasi", version = "0.29.0" } wasmtime-wasi = { path = "../wasi", version = "0.30.0" }
wiggle = { path = "../wiggle", version = "0.29.0" } wiggle = { path = "../wiggle", version = "0.30.0" }
# These dependencies are necessary for the wasi-nn implementation: # These dependencies are necessary for the wasi-nn implementation:
openvino = { version = "0.3.1", features = ["runtime-linking"] } openvino = { version = "0.3.1", features = ["runtime-linking"] }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-wasi" name = "wasmtime-wasi"
version = "0.29.0" version = "0.30.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "WASI implementation in Rust" description = "WASI implementation in Rust"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
@@ -13,11 +13,11 @@ include = ["src/**/*", "README.md", "LICENSE", "build.rs"]
build = "build.rs" build = "build.rs"
[dependencies] [dependencies]
wasi-common = { path = "../wasi-common", version = "0.29.0" } wasi-common = { path = "../wasi-common", version = "0.30.0" }
wasi-cap-std-sync = { path = "../wasi-common/cap-std-sync", version = "0.29.0", optional = true } wasi-cap-std-sync = { path = "../wasi-common/cap-std-sync", version = "0.30.0", optional = true }
wasi-tokio = { path = "../wasi-common/tokio", version = "0.29.0", optional = true } wasi-tokio = { path = "../wasi-common/tokio", version = "0.30.0", optional = true }
wiggle = { path = "../wiggle", default-features = false, version = "0.29.0", features = ["wasmtime_integration"] } wiggle = { path = "../wiggle", default-features = false, version = "0.30.0", features = ["wasmtime_integration"] }
wasmtime = { path = "../wasmtime", default-features = false, version = "0.29.0" } wasmtime = { path = "../wasmtime", default-features = false, version = "0.30.0" }
anyhow = "1.0" anyhow = "1.0"
[features] [features]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime" name = "wasmtime"
version = "0.29.0" version = "0.30.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "High-level API to expose the Wasmtime runtime" description = "High-level API to expose the Wasmtime runtime"
documentation = "https://docs.rs/wasmtime" documentation = "https://docs.rs/wasmtime"
@@ -13,12 +13,12 @@ edition = "2018"
rustdoc-args = ["--cfg", "nightlydoc"] rustdoc-args = ["--cfg", "nightlydoc"]
[dependencies] [dependencies]
wasmtime-runtime = { path = "../runtime", version = "0.29.0" } wasmtime-runtime = { path = "../runtime", version = "0.30.0" }
wasmtime-environ = { path = "../environ", version = "0.29.0" } wasmtime-environ = { path = "../environ", version = "0.30.0" }
wasmtime-jit = { path = "../jit", version = "0.29.0" } wasmtime-jit = { path = "../jit", version = "0.30.0" }
wasmtime-cache = { path = "../cache", version = "0.29.0", optional = true } wasmtime-cache = { path = "../cache", version = "0.30.0", optional = true }
wasmtime-fiber = { path = "../fiber", version = "0.29.0", optional = true } wasmtime-fiber = { path = "../fiber", version = "0.30.0", optional = true }
wasmtime-cranelift = { path = "../cranelift", version = "0.29.0", optional = true } wasmtime-cranelift = { path = "../cranelift", version = "0.30.0", optional = true }
target-lexicon = { version = "0.12.0", default-features = false } target-lexicon = { version = "0.12.0", default-features = false }
wasmparser = "0.80" wasmparser = "0.80"
anyhow = "1.0.19" anyhow = "1.0.19"

View File

@@ -161,9 +161,9 @@ impl<T> Linker<T> {
/// Creates a new [`Linker`]. /// Creates a new [`Linker`].
/// ///
/// The linker will define functions within the context of the `engine` /// The linker will define functions within the context of the `engine`
/// provided and can only instantiate modules for a [`Store`] that is also /// provided and can only instantiate modules for a [`Store`][crate::Store]
/// defined within the same [`Engine`]. Usage of stores with different /// that is also defined within the same [`Engine`]. Usage of stores with
/// [`Engine`]s may cause a panic when used with this [`Linker`]. /// different [`Engine`]s may cause a panic when used with this [`Linker`].
pub fn new(engine: &Engine) -> Linker<T> { pub fn new(engine: &Engine) -> Linker<T> {
Linker { Linker {
engine: engine.clone(), engine: engine.clone(),
@@ -429,9 +429,9 @@ impl<T> Linker<T> {
/// name in the instance itself. /// name in the instance itself.
/// ///
/// Note that when this API is used the [`Linker`] is no longer compatible /// Note that when this API is used the [`Linker`] is no longer compatible
/// with multi-[`Store` ] instantiation because the items defined within /// with multi-[`Store`][crate::Store] instantiation because the items
/// this store will belong to the `store` provided, and only the `store` /// defined within this store will belong to the `store` provided, and only
/// provided. /// the `store` provided.
/// ///
/// # Errors /// # Errors
/// ///

View File

@@ -305,6 +305,7 @@ where
T: std::ops::DerefMut<Target = StoreOpaque>, T: std::ops::DerefMut<Target = StoreOpaque>,
{ {
pub fn new(mut store: T) -> Self { pub fn new(mut store: T) -> Self {
drop(&mut store);
#[cfg(debug_assertions)] #[cfg(debug_assertions)]
{ {
let prev_okay = store.externref_activations_table.set_gc_okay(false); let prev_okay = store.externref_activations_table.set_gc_okay(false);

View File

@@ -117,13 +117,13 @@ impl MatchCx<'_> {
let render = |ty: &WasmFuncType| { let render = |ty: &WasmFuncType| {
let params = ty let params = ty
.params .params()
.iter() .iter()
.map(|s| s.to_string()) .map(|s| s.to_string())
.collect::<Vec<_>>() .collect::<Vec<_>>()
.join(", "); .join(", ");
let returns = ty let returns = ty
.returns .returns()
.iter() .iter()
.map(|s| s.to_string()) .map(|s| s.to_string())
.collect::<Vec<_>>() .collect::<Vec<_>>()

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-wast" name = "wasmtime-wast"
version = "0.29.0" version = "0.30.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "wast testing support for wasmtime" description = "wast testing support for wasmtime"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
@@ -11,7 +11,7 @@ edition = "2018"
[dependencies] [dependencies]
anyhow = "1.0.19" anyhow = "1.0.19"
wasmtime = { path = "../wasmtime", version = "0.29.0", default-features = false, features = ['cranelift'] } wasmtime = { path = "../wasmtime", version = "0.30.0", default-features = false, features = ['cranelift'] }
wast = "37.0.0" wast = "37.0.0"
[badges] [badges]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wiggle" name = "wiggle"
version = "0.29.0" version = "0.30.0"
authors = ["Pat Hickey <phickey@fastly.com>", "Jakub Konka <kubkonk@jakubkonka.com>", "Alex Crichton <alex@alexcrichton.com>"] authors = ["Pat Hickey <phickey@fastly.com>", "Jakub Konka <kubkonk@jakubkonka.com>", "Alex Crichton <alex@alexcrichton.com>"]
edition = "2018" edition = "2018"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
@@ -13,11 +13,11 @@ include = ["src/**/*", "README.md", "LICENSE"]
[dependencies] [dependencies]
thiserror = "1" thiserror = "1"
witx = { path = "../wasi-common/WASI/tools/witx", version = "0.9.1", optional = true } witx = { path = "../wasi-common/WASI/tools/witx", version = "0.9.1", optional = true }
wiggle-macro = { path = "macro", version = "0.29.0" } wiggle-macro = { path = "macro", version = "0.30.0" }
tracing = "0.1.26" tracing = "0.1.26"
bitflags = "1.2" bitflags = "1.2"
async-trait = "0.1.42" async-trait = "0.1.42"
wasmtime = { path = "../wasmtime", version = "0.29.0", optional = true, default-features = false } wasmtime = { path = "../wasmtime", version = "0.30.0", optional = true, default-features = false }
anyhow = "1.0" anyhow = "1.0"
[badges] [badges]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wiggle-generate" name = "wiggle-generate"
version = "0.29.0" version = "0.30.0"
authors = ["Pat Hickey <phickey@fastly.com>", "Jakub Konka <kubkon@jakubkonka.com>", "Alex Crichton <alex@alexcrichton.com>"] authors = ["Pat Hickey <phickey@fastly.com>", "Jakub Konka <kubkon@jakubkonka.com>", "Alex Crichton <alex@alexcrichton.com>"]
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
edition = "2018" edition = "2018"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wiggle-macro" name = "wiggle-macro"
version = "0.29.0" version = "0.30.0"
authors = ["Pat Hickey <phickey@fastly.com>", "Jakub Konka <kubkon@jakubkonka.com>", "Alex Crichton <alex@alexcrichton.com>"] authors = ["Pat Hickey <phickey@fastly.com>", "Jakub Konka <kubkon@jakubkonka.com>", "Alex Crichton <alex@alexcrichton.com>"]
edition = "2018" edition = "2018"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
@@ -21,7 +21,7 @@ test = false
doctest = false doctest = false
[dependencies] [dependencies]
wiggle-generate = { path = "../generate", version = "0.29.0" } wiggle-generate = { path = "../generate", version = "0.30.0" }
witx = { version = "0.9.1", path = "../../wasi-common/WASI/tools/witx" } witx = { version = "0.9.1", path = "../../wasi-common/WASI/tools/witx" }
quote = "1.0" quote = "1.0"
syn = { version = "1.0", features = ["full"] } syn = { version = "1.0", features = ["full"] }

View File

@@ -426,6 +426,7 @@ fn global_init_no_leak() -> anyhow::Result<()> {
} }
#[test] #[test]
#[cfg(not(feature = "old-x86-backend"))]
fn no_gc_middle_of_args() -> anyhow::Result<()> { fn no_gc_middle_of_args() -> anyhow::Result<()> {
let (mut store, module) = ref_types_module( let (mut store, module) = ref_types_module(
r#" r#"