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

View File

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

View File

@@ -4,6 +4,71 @@
## 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
Released 2021-08-02.

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
[package]
name = "cranelift-native"
version = "0.76.0"
version = "0.77.0"
authors = ["The Cranelift Project Developers"]
description = "Support for targeting the host with Cranelift"
documentation = "https://docs.rs/cranelift-native"
@@ -11,7 +11,7 @@ readme = "README.md"
edition = "2018"
[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.'cfg(target_arch = "s390x")'.dependencies]

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
[package]
name = "lightbeam"
version = "0.29.0"
version = "0.30.0"
authors = ["The Lightbeam Project Developers"]
description = "An optimising one-pass streaming compiler for WebAssembly"
license = "Apache-2.0 WITH LLVM-exception"
@@ -13,7 +13,7 @@ edition = "2018"
[dependencies]
arrayvec = "0.5"
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"
dynasm = "1.0.0"
dynasmrt = "1.0.0"

View File

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

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-types"
version = "0.29.0"
version = "0.30.0"
authors = ["The Wasmtime Project Developers"]
description = "WebAssembly type definitions for Cranelift"
license = "Apache-2.0 WITH LLVM-exception"
@@ -9,7 +9,7 @@ documentation = "https://docs.rs/wasmtime-types"
edition = "2018"
[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"] }
thiserror = "1.0.4"
wasmparser = { version = "0.80", default-features = false }

View File

@@ -1,6 +1,6 @@
[package]
name = "wasi-common"
version = "0.29.0"
version = "0.30.0"
authors = ["The Wasmtime Project Developers"]
description = "WASI implementation in Rust"
license = "Apache-2.0 WITH LLVM-exception"
@@ -20,7 +20,7 @@ links = "wasi-common-19"
[dependencies]
anyhow = "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"
cap-std = "0.19.0"
cap-rand = "0.19.0"

View File

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

View File

@@ -1,6 +1,6 @@
[package]
name = "wasi-tokio"
version = "0.29.0"
version = "0.30.0"
authors = ["The Wasmtime Project Developers"]
description = "WASI implementation in Rust"
license = "Apache-2.0 WITH LLVM-exception"
@@ -11,9 +11,9 @@ edition = "2018"
include = ["src/**/*", "LICENSE" ]
[dependencies]
wasi-common = { path = "../", version = "0.29.0" }
wasi-cap-std-sync = { path = "../cap-std-sync", version = "0.29.0" }
wiggle = { path = "../../wiggle", version = "0.29.0" }
wasi-common = { path = "../", version = "0.30.0" }
wasi-cap-std-sync = { path = "../cap-std-sync", version = "0.30.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"] }
cap-std = "0.19.0"
cap-fs-ext = "0.19.0"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-wast"
version = "0.29.0"
version = "0.30.0"
authors = ["The Wasmtime Project Developers"]
description = "wast testing support for wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
@@ -11,7 +11,7 @@ edition = "2018"
[dependencies]
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"
[badges]

View File

@@ -1,6 +1,6 @@
[package]
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>"]
edition = "2018"
license = "Apache-2.0 WITH LLVM-exception"
@@ -13,11 +13,11 @@ include = ["src/**/*", "README.md", "LICENSE"]
[dependencies]
thiserror = "1"
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"
bitflags = "1.2"
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"
[badges]

View File

@@ -1,6 +1,6 @@
[package]
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>"]
license = "Apache-2.0 WITH LLVM-exception"
edition = "2018"

View File

@@ -1,6 +1,6 @@
[package]
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>"]
edition = "2018"
license = "Apache-2.0 WITH LLVM-exception"
@@ -21,7 +21,7 @@ test = false
doctest = false
[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" }
quote = "1.0"
syn = { version = "1.0", features = ["full"] }

View File

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