Merge remote-tracking branch 'origin/main' into pch/wasi_common_cap_std

This commit is contained in:
Pat Hickey
2021-01-07 16:37:06 -08:00
58 changed files with 309 additions and 260 deletions

116
Cargo.lock generated
View File

@@ -222,7 +222,7 @@ dependencies = [
"once_cell", "once_cell",
"posish", "posish",
"winapi", "winapi",
"winx 0.21.0 (registry+https://github.com/rust-lang/crates.io-index)", "winx 0.21.0",
] ]
[[package]] [[package]]
@@ -238,7 +238,7 @@ dependencies = [
"once_cell", "once_cell",
"posish", "posish",
"winapi", "winapi",
"winx 0.21.0 (registry+https://github.com/rust-lang/crates.io-index)", "winx 0.21.0",
] ]
[[package]] [[package]]
@@ -277,7 +277,7 @@ dependencies = [
"cap-primitives 0.8.0", "cap-primitives 0.8.0",
"once_cell", "once_cell",
"posish", "posish",
"winx 0.21.0 (registry+https://github.com/rust-lang/crates.io-index)", "winx 0.21.0",
] ]
[[package]] [[package]]
@@ -434,7 +434,7 @@ checksum = "8aebca1129a03dc6dc2b127edd729435bbc4a37e1d5f4d7513165089ceb02634"
[[package]] [[package]]
name = "cranelift" name = "cranelift"
version = "0.68.0" version = "0.69.0"
dependencies = [ dependencies = [
"cranelift-codegen", "cranelift-codegen",
"cranelift-frontend", "cranelift-frontend",
@@ -442,14 +442,14 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-bforest" name = "cranelift-bforest"
version = "0.68.0" version = "0.69.0"
dependencies = [ dependencies = [
"cranelift-entity", "cranelift-entity",
] ]
[[package]] [[package]]
name = "cranelift-codegen" name = "cranelift-codegen"
version = "0.68.0" version = "0.69.0"
dependencies = [ dependencies = [
"bincode", "bincode",
"byteorder", "byteorder",
@@ -474,7 +474,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-codegen-meta" name = "cranelift-codegen-meta"
version = "0.68.0" version = "0.69.0"
dependencies = [ dependencies = [
"cranelift-codegen-shared", "cranelift-codegen-shared",
"cranelift-entity", "cranelift-entity",
@@ -482,11 +482,11 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-codegen-shared" name = "cranelift-codegen-shared"
version = "0.68.0" version = "0.69.0"
[[package]] [[package]]
name = "cranelift-entity" name = "cranelift-entity"
version = "0.68.0" version = "0.69.0"
dependencies = [ dependencies = [
"serde", "serde",
] ]
@@ -515,7 +515,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-frontend" name = "cranelift-frontend"
version = "0.68.0" version = "0.69.0"
dependencies = [ dependencies = [
"cranelift-codegen", "cranelift-codegen",
"hashbrown", "hashbrown",
@@ -526,7 +526,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-interpreter" name = "cranelift-interpreter"
version = "0.68.0" version = "0.69.0"
dependencies = [ dependencies = [
"cranelift-codegen", "cranelift-codegen",
"cranelift-entity", "cranelift-entity",
@@ -539,7 +539,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-jit" name = "cranelift-jit"
version = "0.68.0" version = "0.69.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cranelift", "cranelift",
@@ -559,7 +559,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-module" name = "cranelift-module"
version = "0.68.0" version = "0.69.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cranelift-codegen", "cranelift-codegen",
@@ -571,7 +571,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-native" name = "cranelift-native"
version = "0.68.0" version = "0.69.0"
dependencies = [ dependencies = [
"cranelift-codegen", "cranelift-codegen",
"raw-cpuid", "raw-cpuid",
@@ -580,7 +580,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-object" name = "cranelift-object"
version = "0.68.0" version = "0.69.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cranelift-codegen", "cranelift-codegen",
@@ -594,7 +594,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-preopt" name = "cranelift-preopt"
version = "0.68.0" version = "0.69.0"
dependencies = [ dependencies = [
"cranelift-codegen", "cranelift-codegen",
"cranelift-entity", "cranelift-entity",
@@ -602,7 +602,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-reader" name = "cranelift-reader"
version = "0.68.0" version = "0.69.0"
dependencies = [ dependencies = [
"cranelift-codegen", "cranelift-codegen",
"smallvec", "smallvec",
@@ -612,7 +612,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-serde" name = "cranelift-serde"
version = "0.68.0" version = "0.69.0"
dependencies = [ dependencies = [
"clap", "clap",
"cranelift-codegen", "cranelift-codegen",
@@ -660,7 +660,7 @@ dependencies = [
[[package]] [[package]]
name = "cranelift-wasm" name = "cranelift-wasm"
version = "0.68.0" version = "0.69.0"
dependencies = [ dependencies = [
"cranelift-codegen", "cranelift-codegen",
"cranelift-entity", "cranelift-entity",
@@ -1238,7 +1238,7 @@ dependencies = [
[[package]] [[package]]
name = "lightbeam" name = "lightbeam"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"arrayvec", "arrayvec",
@@ -1481,7 +1481,7 @@ checksum = "19b17cddbe7ec3f8bc800887bab5e717348c95ea2ca0b1bf0837fb964dc67099"
[[package]] [[package]]
name = "peepmatic" name = "peepmatic"
version = "0.68.0" version = "0.69.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"peepmatic-automata", "peepmatic-automata",
@@ -1496,7 +1496,7 @@ dependencies = [
[[package]] [[package]]
name = "peepmatic-automata" name = "peepmatic-automata"
version = "0.68.0" version = "0.69.0"
dependencies = [ dependencies = [
"serde", "serde",
] ]
@@ -1523,7 +1523,7 @@ dependencies = [
[[package]] [[package]]
name = "peepmatic-macro" name = "peepmatic-macro"
version = "0.68.0" version = "0.69.0"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@@ -1532,7 +1532,7 @@ dependencies = [
[[package]] [[package]]
name = "peepmatic-runtime" name = "peepmatic-runtime"
version = "0.68.0" version = "0.69.0"
dependencies = [ dependencies = [
"bincode", "bincode",
"bumpalo", "bumpalo",
@@ -1548,7 +1548,7 @@ dependencies = [
[[package]] [[package]]
name = "peepmatic-souper" name = "peepmatic-souper"
version = "0.68.0" version = "0.69.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"log", "log",
@@ -1572,7 +1572,7 @@ dependencies = [
[[package]] [[package]]
name = "peepmatic-test-operator" name = "peepmatic-test-operator"
version = "0.68.0" version = "0.69.0"
dependencies = [ dependencies = [
"peepmatic-traits", "peepmatic-traits",
"serde", "serde",
@@ -1581,7 +1581,7 @@ dependencies = [
[[package]] [[package]]
name = "peepmatic-traits" name = "peepmatic-traits"
version = "0.68.0" version = "0.69.0"
[[package]] [[package]]
name = "pin-project-lite" name = "pin-project-lite"
@@ -2145,7 +2145,7 @@ dependencies = [
"atty", "atty",
"posish", "posish",
"winapi", "winapi",
"winx 0.21.0 (registry+https://github.com/rust-lang/crates.io-index)", "winx 0.21.0",
] ]
[[package]] [[package]]
@@ -2442,7 +2442,7 @@ checksum = "1a143597ca7c7793eff794def352d41792a93c481eb1042423ff7ff72ba2c31f"
[[package]] [[package]]
name = "wasi-c2" name = "wasi-c2"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cap-fs-ext", "cap-fs-ext",
@@ -2460,7 +2460,7 @@ dependencies = [
[[package]] [[package]]
name = "wasi-c2-wasmtime" name = "wasi-c2-wasmtime"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cap-std 0.7.0", "cap-std 0.7.0",
@@ -2472,7 +2472,7 @@ dependencies = [
[[package]] [[package]]
name = "wasi-common" name = "wasi-common"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cfg-if 1.0.0", "cfg-if 1.0.0",
@@ -2485,7 +2485,7 @@ dependencies = [
"tracing", "tracing",
"wiggle", "wiggle",
"winapi", "winapi",
"winx 0.21.0", "winx 0.22.0",
"yanix", "yanix",
] ]
@@ -2551,7 +2551,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime" name = "wasmtime"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"backtrace", "backtrace",
@@ -2613,7 +2613,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-cache" name = "wasmtime-cache"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"base64", "base64",
@@ -2637,7 +2637,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-cli" name = "wasmtime-cli"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"env_logger 0.8.2", "env_logger 0.8.2",
@@ -2673,7 +2673,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-cranelift" name = "wasmtime-cranelift"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"cranelift-codegen", "cranelift-codegen",
"cranelift-entity", "cranelift-entity",
@@ -2684,7 +2684,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-debug" name = "wasmtime-debug"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"gimli", "gimli",
@@ -2698,7 +2698,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-environ" name = "wasmtime-environ"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cfg-if 1.0.0", "cfg-if 1.0.0",
@@ -2750,7 +2750,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-jit" name = "wasmtime-jit"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"addr2line", "addr2line",
"anyhow", "anyhow",
@@ -2782,7 +2782,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-lightbeam" name = "wasmtime-lightbeam"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"cranelift-codegen", "cranelift-codegen",
"lightbeam", "lightbeam",
@@ -2792,7 +2792,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-obj" name = "wasmtime-obj"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"more-asserts", "more-asserts",
@@ -2804,7 +2804,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-profiling" name = "wasmtime-profiling"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"cfg-if 1.0.0", "cfg-if 1.0.0",
@@ -2822,7 +2822,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-runtime" name = "wasmtime-runtime"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"backtrace", "backtrace",
"cc", "cc",
@@ -2842,7 +2842,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-rust" name = "wasmtime-rust"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"wasmtime", "wasmtime",
@@ -2852,7 +2852,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-rust-macro" name = "wasmtime-rust-macro"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@@ -2861,7 +2861,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-wasi" name = "wasmtime-wasi"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"tracing", "tracing",
@@ -2874,7 +2874,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-wasi-nn" name = "wasmtime-wasi-nn"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"log", "log",
@@ -2890,7 +2890,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-wast" name = "wasmtime-wast"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"wasmtime", "wasmtime",
@@ -2899,7 +2899,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-wiggle" name = "wasmtime-wiggle"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"wasmtime", "wasmtime",
"wasmtime-wiggle-macro", "wasmtime-wiggle-macro",
@@ -2910,7 +2910,7 @@ dependencies = [
[[package]] [[package]]
name = "wasmtime-wiggle-macro" name = "wasmtime-wiggle-macro"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@@ -2966,7 +2966,7 @@ dependencies = [
[[package]] [[package]]
name = "wiggle" name = "wiggle"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"proptest", "proptest",
"thiserror", "thiserror",
@@ -2978,14 +2978,14 @@ dependencies = [
[[package]] [[package]]
name = "wiggle-borrow" name = "wiggle-borrow"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"wiggle", "wiggle",
] ]
[[package]] [[package]]
name = "wiggle-generate" name = "wiggle-generate"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"heck", "heck",
@@ -2998,7 +2998,7 @@ dependencies = [
[[package]] [[package]]
name = "wiggle-macro" name = "wiggle-macro"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"quote", "quote",
"syn", "syn",
@@ -3054,6 +3054,8 @@ checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]] [[package]]
name = "winx" name = "winx"
version = "0.21.0" version = "0.21.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2bcaffab7dbdc695c5d1e8adc37247111444c44f2df159f730d7ac85dbc27b5f"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"cvt", "cvt",
@@ -3062,9 +3064,7 @@ dependencies = [
[[package]] [[package]]
name = "winx" name = "winx"
version = "0.21.0" version = "0.22.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2bcaffab7dbdc695c5d1e8adc37247111444c44f2df159f730d7ac85dbc27b5f"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"cvt", "cvt",
@@ -3086,7 +3086,7 @@ dependencies = [
[[package]] [[package]]
name = "yanix" name = "yanix"
version = "0.21.0" version = "0.22.0"
dependencies = [ dependencies = [
"bitflags", "bitflags",
"cfg-if 1.0.0", "cfg-if 1.0.0",

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-cli" name = "wasmtime-cli"
version = "0.21.0" version = "0.22.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"
@@ -22,16 +22,16 @@ doc = false
[dependencies] [dependencies]
# Enable all supported architectures by default. # Enable all supported architectures by default.
wasmtime = { path = "crates/wasmtime", version = "0.21.0", default-features = false, features = ['cache'] } wasmtime = { path = "crates/wasmtime", version = "0.22.0", default-features = false, features = ['cache'] }
wasmtime-cache = { path = "crates/cache", version = "0.21.0" } wasmtime-cache = { path = "crates/cache", version = "0.22.0" }
wasmtime-debug = { path = "crates/debug", version = "0.21.0" } wasmtime-debug = { path = "crates/debug", version = "0.22.0" }
wasmtime-environ = { path = "crates/environ", version = "0.21.0" } wasmtime-environ = { path = "crates/environ", version = "0.22.0" }
wasmtime-jit = { path = "crates/jit", version = "0.21.0" } wasmtime-jit = { path = "crates/jit", version = "0.22.0" }
wasmtime-obj = { path = "crates/obj", version = "0.21.0" } wasmtime-obj = { path = "crates/obj", version = "0.22.0" }
wasmtime-wast = { path = "crates/wast", version = "0.21.0" } wasmtime-wast = { path = "crates/wast", version = "0.22.0" }
wasmtime-wasi = { path = "crates/wasi", version = "0.21.0" } wasmtime-wasi = { path = "crates/wasi", version = "0.22.0" }
wasmtime-wasi-nn = { path = "crates/wasi-nn", version = "0.21.0", optional = true } wasmtime-wasi-nn = { path = "crates/wasi-nn", version = "0.22.0", optional = true }
wasi-common = { path = "crates/wasi-common", version = "0.21.0" } wasi-common = { path = "crates/wasi-common", version = "0.22.0" }
structopt = { version = "0.3.5", features = ["color", "suggestions"] } structopt = { version = "0.3.5", features = ["color", "suggestions"] }
object = { version = "0.22.0", default-features = false, features = ["write"] } object = { version = "0.22.0", default-features = false, features = ["write"] }
anyhow = "1.0.19" anyhow = "1.0.19"

View File

@@ -2,6 +2,51 @@
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
## 0.22.0
Released 2021-01-07.
### Added
* Experimental support for [the module-linking
proposal](https://github.com/WebAssembly/module-linking) was
added. [#2094](https://github.com/bytecodealliance/wasmtime/pull/2094)
* Added support for [the reference types
proposal](https://webassembly.github.io/reference-types) on the aarch64
architecture. [#2410](https://github.com/bytecodealliance/wasmtime/pull/2410)
* Experimental support for [wasi-nn](https://github.com/WebAssembly/wasi-nn) was
added. [#2208](https://github.com/bytecodealliance/wasmtime/pull/2208)
### Changed
### Fixed
* Fixed an issue where the `select` instruction didn't accept `v128` SIMD
operands. [#2391](https://github.com/bytecodealliance/wasmtime/pull/2391)
* Fixed an issue where Wasmtime could potentially use the wrong stack map during
GCs, leading to a
panic. [#2396](https://github.com/bytecodealliance/wasmtime/pull/2396)
* Fixed an issue where if a host-defined function erroneously returned a value
from a different store, that value would be
leaked. [#2424](https://github.com/bytecodealliance/wasmtime/pull/2424)
* Fixed a bug where in certain cases if a module's instantiation failed, it
could leave trampolines in the store that referenced the no-longer-valid
instance. These trampolines could be reused in future instantiations, leading
to use after free bugs.
[#2408](https://github.com/bytecodealliance/wasmtime/pull/2408)
* Fixed a miscompilation on aarch64 where certain instructions would read `SP`
instead of the zero register. This could only affect you if you explicitly
enabled the Wasm SIMD
proposal. [#2548](https://github.com/bytecodealliance/wasmtime/pull/2548)
--------------------------------------------------------------------------------
## 0.21.0 ## 0.21.0
Released 2020-11-05. Released 2020-11-05.

View File

@@ -15,27 +15,27 @@ path = "src/clif-util.rs"
[dependencies] [dependencies]
cfg-if = "1.0" cfg-if = "1.0"
cranelift-codegen = { path = "codegen", version = "0.68.0" } cranelift-codegen = { path = "codegen", version = "0.69.0" }
cranelift-entity = { path = "entity", version = "0.68.0" } cranelift-entity = { path = "entity", version = "0.69.0" }
cranelift-interpreter = { path = "interpreter", version = "0.68.0" } cranelift-interpreter = { path = "interpreter", version = "0.69.0" }
cranelift-reader = { path = "reader", version = "0.68.0" } cranelift-reader = { path = "reader", version = "0.69.0" }
cranelift-frontend = { path = "frontend", version = "0.68.0" } cranelift-frontend = { path = "frontend", version = "0.69.0" }
cranelift-serde = { path = "serde", version = "0.68.0", optional = true } cranelift-serde = { path = "serde", version = "0.69.0", optional = true }
cranelift-wasm = { path = "wasm", version = "0.68.0", optional = true } cranelift-wasm = { path = "wasm", version = "0.69.0", optional = true }
cranelift-native = { path = "native", version = "0.68.0" } cranelift-native = { path = "native", version = "0.69.0" }
cranelift-filetests = { path = "filetests", version = "0.66.0" } cranelift-filetests = { path = "filetests", version = "0.66.0" }
cranelift-module = { path = "module", version = "0.68.0" } cranelift-module = { path = "module", version = "0.69.0" }
cranelift-object = { path = "object", version = "0.68.0" } cranelift-object = { path = "object", version = "0.69.0" }
cranelift-jit = { path = "jit", version = "0.68.0" } cranelift-jit = { path = "jit", version = "0.69.0" }
cranelift-preopt = { path = "preopt", version = "0.68.0" } cranelift-preopt = { path = "preopt", version = "0.69.0" }
cranelift = { path = "umbrella", version = "0.68.0" } cranelift = { path = "umbrella", version = "0.69.0" }
filecheck = "0.5.0" filecheck = "0.5.0"
log = "0.4.8" log = "0.4.8"
term = "0.6.1" term = "0.6.1"
capstone = { version = "0.7.0", optional = true } capstone = { version = "0.7.0", optional = true }
wat = { version = "1.0.18", optional = true } wat = { version = "1.0.18", optional = true }
target-lexicon = { version = "0.11", features = ["std"] } target-lexicon = { version = "0.11", features = ["std"] }
peepmatic-souper = { path = "./peepmatic/crates/souper", version = "0.68.0", optional = true } peepmatic-souper = { path = "./peepmatic/crates/souper", version = "0.69.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.68.0" version = "0.69.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.68.0", default-features = false } cranelift-entity = { path = "../entity", version = "0.69.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.68.0" version = "0.69.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.68.0" } cranelift-codegen-shared = { path = "./shared", version = "0.69.0" }
cranelift-entity = { path = "../entity", version = "0.68.0" } cranelift-entity = { path = "../entity", version = "0.69.0" }
cranelift-bforest = { path = "../bforest", version = "0.68.0" } cranelift-bforest = { path = "../bforest", version = "0.69.0" }
hashbrown = { version = "0.9.1", optional = true } hashbrown = { version = "0.9.1", optional = true }
target-lexicon = "0.11" target-lexicon = "0.11"
log = { version = "0.4.6", default-features = false } log = { version = "0.4.6", default-features = false }
@@ -25,9 +25,9 @@ gimli = { version = "0.23.0", default-features = false, features = ["write"], op
smallvec = { version = "1.0.0" } smallvec = { version = "1.0.0" }
thiserror = "1.0.4" thiserror = "1.0.4"
byteorder = { version = "1.3.2", default-features = false } byteorder = { version = "1.3.2", default-features = false }
peepmatic = { path = "../peepmatic", optional = true, version = "0.68.0" } peepmatic = { path = "../peepmatic", optional = true, version = "0.69.0" }
peepmatic-traits = { path = "../peepmatic/crates/traits", optional = true, version = "0.68.0" } peepmatic-traits = { path = "../peepmatic/crates/traits", optional = true, version = "0.69.0" }
peepmatic-runtime = { path = "../peepmatic/crates/runtime", optional = true, version = "0.68.0" } peepmatic-runtime = { path = "../peepmatic/crates/runtime", optional = true, version = "0.69.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 = "29.0.0", optional = true } wast = { version = "29.0.0", optional = true }
@@ -37,7 +37,7 @@ wast = { version = "29.0.0", optional = true }
# accomodated in `tests`. # accomodated in `tests`.
[build-dependencies] [build-dependencies]
cranelift-codegen-meta = { path = "meta", version = "0.68.0" } cranelift-codegen-meta = { path = "meta", version = "0.69.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.68.0" version = "0.69.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"
@@ -12,8 +12,8 @@ edition = "2018"
rustdoc-args = [ "--document-private-items" ] rustdoc-args = [ "--document-private-items" ]
[dependencies] [dependencies]
cranelift-codegen-shared = { path = "../shared", version = "0.68.0" } cranelift-codegen-shared = { path = "../shared", version = "0.69.0" }
cranelift-entity = { path = "../../entity", version = "0.68.0" } cranelift-entity = { path = "../../entity", version = "0.69.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.68.0" version = "0.69.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.68.0" version = "0.69.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.68.0", features = ["testing_hooks"] } cranelift-codegen = { path = "../codegen", version = "0.69.0", features = ["testing_hooks"] }
cranelift-frontend = { path = "../frontend", version = "0.68.0" } cranelift-frontend = { path = "../frontend", version = "0.69.0" }
cranelift-interpreter = { path = "../interpreter", version = "0.68.0" } cranelift-interpreter = { path = "../interpreter", version = "0.69.0" }
cranelift-native = { path = "../native", version = "0.68.0" } cranelift-native = { path = "../native", version = "0.69.0" }
cranelift-reader = { path = "../reader", version = "0.68.0" } cranelift-reader = { path = "../reader", version = "0.69.0" }
cranelift-preopt = { path = "../preopt", version = "0.68.0" } cranelift-preopt = { path = "../preopt", version = "0.69.0" }
byteorder = { version = "1.3.2", default-features = false } byteorder = { version = "1.3.2", default-features = false }
file-per-thread-logger = "0.1.2" file-per-thread-logger = "0.1.2"
filecheck = "0.5.0" filecheck = "0.5.0"

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.68.0" version = "0.69.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.68.0", default-features = false } cranelift-codegen = { path = "../codegen", version = "0.69.0", default-features = false }
target-lexicon = "0.11" target-lexicon = "0.11"
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

@@ -1,6 +1,6 @@
[package] [package]
name = "cranelift-interpreter" name = "cranelift-interpreter"
version = "0.68.0" version = "0.69.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.68.0", features = ["all-arch"] } cranelift-codegen = { path = "../codegen", version = "0.69.0", features = ["all-arch"] }
cranelift-entity = { path = "../entity", version = "0.68.0" } cranelift-entity = { path = "../entity", version = "0.69.0" }
cranelift-reader = { path = "../reader", version = "0.68.0" } cranelift-reader = { path = "../reader", version = "0.69.0" }
log = { version = "0.4.8", default-features = false } log = { version = "0.4.8", default-features = false }
smallvec = "1.4.2" smallvec = "1.4.2"
thiserror = "1.0.15" thiserror = "1.0.15"
[dev-dependencies] [dev-dependencies]
cranelift-frontend = { path = "../frontend", version = "0.68.0" } cranelift-frontend = { path = "../frontend", version = "0.69.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.68.0" version = "0.69.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.68.0" } cranelift-module = { path = "../module", version = "0.69.0" }
cranelift-native = { path = "../native", version = "0.68.0" } cranelift-native = { path = "../native", version = "0.69.0" }
cranelift-codegen = { path = "../codegen", version = "0.68.0", default-features = false, features = ["std"] } cranelift-codegen = { path = "../codegen", version = "0.69.0", default-features = false, features = ["std"] }
cranelift-entity = { path = "../entity", version = "0.68.0" } cranelift-entity = { path = "../entity", version = "0.69.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" }
@@ -30,9 +30,9 @@ selinux-fix = ['memmap']
default = [] default = []
[dev-dependencies] [dev-dependencies]
cranelift = { path = "../umbrella", version = "0.68.0" } cranelift = { path = "../umbrella", version = "0.69.0" }
cranelift-frontend = { path = "../frontend", version = "0.68.0" } cranelift-frontend = { path = "../frontend", version = "0.69.0" }
cranelift-entity = { path = "../entity", version = "0.68.0" } cranelift-entity = { path = "../entity", version = "0.69.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.68.0" version = "0.69.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.68.0", default-features = false } cranelift-codegen = { path = "../codegen", version = "0.69.0", default-features = false }
cranelift-entity = { path = "../entity", version = "0.68.0" } cranelift-entity = { path = "../entity", version = "0.69.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 }
thiserror = "1.0.4" thiserror = "1.0.4"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "cranelift-native" name = "cranelift-native"
version = "0.68.0" version = "0.69.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.68.0", default-features = false } cranelift-codegen = { path = "../codegen", version = "0.69.0", default-features = false }
target-lexicon = "0.11" target-lexicon = "0.11"
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies] [target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "cranelift-object" name = "cranelift-object"
version = "0.68.0" version = "0.69.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.68.0" } cranelift-module = { path = "../module", version = "0.69.0" }
cranelift-codegen = { path = "../codegen", version = "0.68.0", default-features = false, features = ["std"] } cranelift-codegen = { path = "../codegen", version = "0.69.0", default-features = false, features = ["std"] }
object = { version = "0.22.0", default-features = false, features = ["write"] } object = { version = "0.22.0", default-features = false, features = ["write"] }
target-lexicon = "0.11" target-lexicon = "0.11"
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.68.0" } cranelift-frontend = { path = "../frontend", version = "0.69.0" }
cranelift-entity = { path = "../entity", version = "0.68.0" } cranelift-entity = { path = "../entity", version = "0.69.0" }
[badges] [badges]
maintenance = { status = "experimental" } maintenance = { status = "experimental" }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "peepmatic" name = "peepmatic"
version = "0.68.0" version = "0.69.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.68.0", path = "crates/automata", features = ["dot"] } peepmatic-automata = { version = "0.69.0", path = "crates/automata", features = ["dot"] }
peepmatic-macro = { version = "0.68.0", path = "crates/macro" } peepmatic-macro = { version = "0.69.0", path = "crates/macro" }
peepmatic-runtime = { version = "0.68.0", path = "crates/runtime", features = ["construct"] } peepmatic-runtime = { version = "0.69.0", path = "crates/runtime", features = ["construct"] }
peepmatic-traits = { version = "0.68.0", path = "crates/traits" } peepmatic-traits = { version = "0.69.0", path = "crates/traits" }
serde = { version = "1.0.105", features = ["derive"] } serde = { version = "1.0.105", features = ["derive"] }
wast = "29.0.0" wast = "29.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.68.0", path = "crates/test-operator" } peepmatic-test-operator = { version = "0.69.0", path = "crates/test-operator" }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "peepmatic-automata" name = "peepmatic-automata"
version = "0.68.0" version = "0.69.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.68.0" version = "0.69.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.68.0" version = "0.69.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.68.0", path = "../automata", features = ["serde"] } peepmatic-automata = { version = "0.69.0", path = "../automata", features = ["serde"] }
peepmatic-traits = { version = "0.68.0", path = "../traits" } peepmatic-traits = { version = "0.69.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 = "29.0.0", optional = true } wast = { version = "29.0.0", optional = true }
[dev-dependencies] [dev-dependencies]
peepmatic-test-operator = { version = "0.68.0", path = "../test-operator" } peepmatic-test-operator = { version = "0.69.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.68.0" version = "0.69.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.68.0" } peepmatic = { path = "../..", version = "0.69.0" }
peepmatic-test-operator = { version = "0.68.0", path = "../test-operator" } peepmatic-test-operator = { version = "0.69.0", path = "../test-operator" }
wast = "29.0.0" wast = "29.0.0"

View File

@@ -1,12 +1,12 @@
[package] [package]
name = "peepmatic-test-operator" name = "peepmatic-test-operator"
version = "0.68.0" version = "0.69.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.68.0", path = "../traits" } peepmatic-traits = { version = "0.69.0", path = "../traits" }
serde = { version = "1.0.105", features = ["derive"] } serde = { version = "1.0.105", features = ["derive"] }
wast = "29.0.0" wast = "29.0.0"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "peepmatic-traits" name = "peepmatic-traits"
version = "0.68.0" version = "0.69.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.68.0" version = "0.69.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.68.0", default-features = false } cranelift-codegen = { path = "../codegen", version = "0.69.0", default-features = false }
cranelift-entity = { path = "../entity", version = "0.68.0" } cranelift-entity = { path = "../entity", version = "0.69.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.68.0" version = "0.69.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.68.0" } cranelift-codegen = { path = "../codegen", version = "0.69.0" }
smallvec = "1.0.0" smallvec = "1.0.0"
target-lexicon = "0.11" target-lexicon = "0.11"
thiserror = "1.0.15" thiserror = "1.0.15"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "cranelift-serde" name = "cranelift-serde"
version = "0.68.0" version = "0.69.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.68.0" } cranelift-codegen = { path = "../codegen", version = "0.69.0" }
cranelift-reader = { path = "../reader", version = "0.68.0" } cranelift-reader = { path = "../reader", version = "0.69.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.68.0" version = "0.69.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.68.0", default-features = false } cranelift-codegen = { path = "../codegen", version = "0.69.0", default-features = false }
cranelift-frontend = { path = "../frontend", version = "0.68.0", default-features = false } cranelift-frontend = { path = "../frontend", version = "0.69.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.68.0" version = "0.69.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,9 +13,9 @@ edition = "2018"
[dependencies] [dependencies]
wasmparser = { version = "0.71", default-features = false } wasmparser = { version = "0.71", default-features = false }
cranelift-codegen = { path = "../codegen", version = "0.68.0", default-features = false } cranelift-codegen = { path = "../codegen", version = "0.69.0", default-features = false }
cranelift-entity = { path = "../entity", version = "0.68.0" } cranelift-entity = { path = "../entity", version = "0.69.0" }
cranelift-frontend = { path = "../frontend", version = "0.68.0", default-features = false } cranelift-frontend = { path = "../frontend", version = "0.69.0", default-features = false }
hashbrown = { version = "0.9.1", optional = true } hashbrown = { version = "0.9.1", optional = true }
itertools = "0.9.0" itertools = "0.9.0"
log = { version = "0.4.6", default-features = false } log = { version = "0.4.6", default-features = false }
@@ -27,7 +27,7 @@ thiserror = "1.0.4"
wat = "1.0.23" wat = "1.0.23"
target-lexicon = "0.11" target-lexicon = "0.11"
# 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.68.0", default-features = false, features = ["riscv"] } cranelift-codegen = { path = "../codegen", version = "0.69.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.21.0" version = "0.22.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.21.0" version = "0.22.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,8 +12,8 @@ readme = "README.md"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
wasmtime-environ = { path = "../environ", version = "0.21.0" } wasmtime-environ = { path = "../environ", version = "0.22.0" }
cranelift-wasm = { path = "../../cranelift/wasm", version = "0.68.0" } cranelift-wasm = { path = "../../cranelift/wasm", version = "0.69.0" }
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.68.0" } cranelift-codegen = { path = "../../cranelift/codegen", version = "0.69.0" }
cranelift-frontend = { path = "../../cranelift/frontend", version = "0.68.0" } cranelift-frontend = { path = "../../cranelift/frontend", version = "0.69.0" }
cranelift-entity = { path = "../../cranelift/entity", version = "0.68.0" } cranelift-entity = { path = "../../cranelift/entity", version = "0.69.0" }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-debug" name = "wasmtime-debug"
version = "0.21.0" version = "0.22.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "Debug utils for WebAsssembly code in Cranelift" description = "Debug utils for WebAsssembly code in Cranelift"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
@@ -15,7 +15,7 @@ edition = "2018"
gimli = "0.23.0" gimli = "0.23.0"
wasmparser = "0.71" wasmparser = "0.71"
object = { version = "0.22.0", default-features = false, features = ["read_core", "elf", "write"] } object = { version = "0.22.0", default-features = false, features = ["read_core", "elf", "write"] }
wasmtime-environ = { path = "../environ", version = "0.21.0" } wasmtime-environ = { path = "../environ", version = "0.22.0" }
target-lexicon = { version = "0.11.0", default-features = false } target-lexicon = { version = "0.11.0", default-features = false }
anyhow = "1.0" anyhow = "1.0"
thiserror = "1.0.4" thiserror = "1.0.4"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-environ" name = "wasmtime-environ"
version = "0.21.0" version = "0.22.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"
@@ -13,9 +13,9 @@ edition = "2018"
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.68.0", features = ["enable-serde"] } cranelift-codegen = { path = "../../cranelift/codegen", version = "0.69.0", features = ["enable-serde"] }
cranelift-entity = { path = "../../cranelift/entity", version = "0.68.0", features = ["enable-serde"] } cranelift-entity = { path = "../../cranelift/entity", version = "0.69.0", features = ["enable-serde"] }
cranelift-wasm = { path = "../../cranelift/wasm", version = "0.68.0", features = ["enable-serde"] } cranelift-wasm = { path = "../../cranelift/wasm", version = "0.69.0", features = ["enable-serde"] }
wasmparser = "0.71" wasmparser = "0.71"
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-jit" name = "wasmtime-jit"
version = "0.21.0" version = "0.22.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"
@@ -12,18 +12,18 @@ readme = "README.md"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.68.0", features = ["enable-serde"] } cranelift-codegen = { path = "../../cranelift/codegen", version = "0.69.0", features = ["enable-serde"] }
cranelift-entity = { path = "../../cranelift/entity", version = "0.68.0", features = ["enable-serde"] } cranelift-entity = { path = "../../cranelift/entity", version = "0.69.0", features = ["enable-serde"] }
cranelift-wasm = { path = "../../cranelift/wasm", version = "0.68.0", features = ["enable-serde"] } cranelift-wasm = { path = "../../cranelift/wasm", version = "0.69.0", features = ["enable-serde"] }
cranelift-native = { path = "../../cranelift/native", version = "0.68.0" } cranelift-native = { path = "../../cranelift/native", version = "0.69.0" }
cranelift-frontend = { path = "../../cranelift/frontend", version = "0.68.0" } cranelift-frontend = { path = "../../cranelift/frontend", version = "0.69.0" }
wasmtime-environ = { path = "../environ", version = "0.21.0" } wasmtime-environ = { path = "../environ", version = "0.22.0" }
wasmtime-runtime = { path = "../runtime", version = "0.21.0" } wasmtime-runtime = { path = "../runtime", version = "0.22.0" }
wasmtime-cranelift = { path = "../cranelift", version = "0.21.0" } wasmtime-cranelift = { path = "../cranelift", version = "0.22.0" }
wasmtime-lightbeam = { path = "../lightbeam/wasmtime", version = "0.21.0", optional = true } wasmtime-lightbeam = { path = "../lightbeam/wasmtime", version = "0.22.0", optional = true }
wasmtime-debug = { path = "../debug", version = "0.21.0" } wasmtime-debug = { path = "../debug", version = "0.22.0" }
wasmtime-profiling = { path = "../profiling", version = "0.21.0" } wasmtime-profiling = { path = "../profiling", version = "0.22.0" }
wasmtime-obj = { path = "../obj", version = "0.21.0" } wasmtime-obj = { path = "../obj", version = "0.22.0" }
rayon = { version = "1.0", optional = true } rayon = { version = "1.0", optional = true }
region = "2.1.0" region = "2.1.0"
thiserror = "1.0.4" thiserror = "1.0.4"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "lightbeam" name = "lightbeam"
version = "0.21.0" version = "0.22.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.7.0" capstone = "0.7.0"
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.68.0" } cranelift-codegen = { path = "../../cranelift/codegen", version = "0.69.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.21.0" version = "0.22.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"
@@ -12,7 +12,7 @@ readme = "README.md"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
lightbeam = { path = "..", version = "0.21.0" } lightbeam = { path = "..", version = "0.22.0" }
wasmparser = "0.71" wasmparser = "0.71"
cranelift-codegen = { path = "../../../cranelift/codegen", version = "0.68.0" } cranelift-codegen = { path = "../../../cranelift/codegen", version = "0.69.0" }
wasmtime-environ = { path = "../../environ", version = "0.21.0" } wasmtime-environ = { path = "../../environ", version = "0.22.0" }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-rust" name = "wasmtime-rust"
version = "0.21.0" version = "0.22.0"
authors = ["Alex Crichton <alex@alexcrichton.com>"] authors = ["Alex Crichton <alex@alexcrichton.com>"]
description = "Rust extension for Wasmtime" description = "Rust extension for Wasmtime"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
@@ -15,9 +15,9 @@ test = false
doctest = false doctest = false
[dependencies] [dependencies]
wasmtime-rust-macro = { path = "./macro", version = "0.21.0" } wasmtime-rust-macro = { path = "./macro", version = "0.22.0" }
wasmtime-wasi = { path = "../../wasi", version = "0.21.0" } wasmtime-wasi = { path = "../../wasi", version = "0.22.0" }
wasmtime = { path = "../../wasmtime", version = "0.21.0" } wasmtime = { path = "../../wasmtime", version = "0.22.0" }
anyhow = "1.0.19" anyhow = "1.0.19"
[badges] [badges]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-rust-macro" name = "wasmtime-rust-macro"
version = "0.21.0" version = "0.22.0"
authors = ["Alex Crichton <alex@alexcrichton.com>"] authors = ["Alex Crichton <alex@alexcrichton.com>"]
description = "Macro support crate for wasmtime-rust" description = "Macro support crate for wasmtime-rust"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-obj" name = "wasmtime-obj"
version = "0.21.0" version = "0.22.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "Native object file output for WebAsssembly code in Wasmtime" description = "Native object file output for WebAsssembly code in Wasmtime"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
@@ -12,11 +12,11 @@ edition = "2018"
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"
wasmtime-environ = { path = "../environ", version = "0.21.0" } wasmtime-environ = { path = "../environ", version = "0.22.0" }
object = { version = "0.22.0", default-features = false, features = ["write"] } object = { version = "0.22.0", default-features = false, features = ["write"] }
more-asserts = "0.2.1" more-asserts = "0.2.1"
target-lexicon = { version = "0.11.0", default-features = false } target-lexicon = { version = "0.11.0", default-features = false }
wasmtime-debug = { path = "../debug", version = "0.21.0" } wasmtime-debug = { path = "../debug", version = "0.22.0" }
[badges] [badges]
maintenance = { status = "experimental" } maintenance = { status = "experimental" }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-profiling" name = "wasmtime-profiling"
version = "0.21.0" version = "0.22.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "Runtime library support for Wasmtime" description = "Runtime library support for Wasmtime"
license = "Apache-2.0 WITH LLVM-exception" license = "Apache-2.0 WITH LLVM-exception"
@@ -19,8 +19,8 @@ libc = { version = "0.2.60", default-features = false }
scroll = { version = "0.10.1", features = ["derive"], optional = true } scroll = { version = "0.10.1", features = ["derive"], optional = true }
serde = { version = "1.0.99", features = ["derive"] } serde = { version = "1.0.99", features = ["derive"] }
target-lexicon = "0.11.0" target-lexicon = "0.11.0"
wasmtime-environ = { path = "../environ", version = "0.21.0" } wasmtime-environ = { path = "../environ", version = "0.22.0" }
wasmtime-runtime = { path = "../runtime", version = "0.21.0" } wasmtime-runtime = { path = "../runtime", version = "0.22.0" }
ittapi-rs = { version = "0.1.5", optional = true } ittapi-rs = { version = "0.1.5", optional = true }
[dependencies.object] [dependencies.object]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-runtime" name = "wasmtime-runtime"
version = "0.21.0" version = "0.22.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"
@@ -12,7 +12,7 @@ readme = "README.md"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
wasmtime-environ = { path = "../environ", version = "0.21.0" } wasmtime-environ = { path = "../environ", version = "0.22.0" }
region = "2.1.0" region = "2.1.0"
libc = { version = "0.2.70", default-features = false } libc = { version = "0.2.70", default-features = false }
log = "0.4.8" log = "0.4.8"

View File

@@ -11,9 +11,9 @@ license = "Apache-2.0 WITH LLVM-exception"
cfg-if = "1.0" cfg-if = "1.0"
[dev-dependencies] [dev-dependencies]
wasi-c2 = { path = "../wasi-c2", version = "0.21.0" } wasi-c2 = { path = "../wasi-c2", version = "0.22.0" }
wasi-c2-wasmtime = { path = "../wasi-c2/wasmtime", version = "0.21.0" } wasi-c2-wasmtime = { path = "../wasi-c2/wasmtime", version = "0.22.0" }
wasmtime = { path = "../wasmtime", version = "0.21.0" } wasmtime = { path = "../wasmtime", version = "0.22.0" }
target-lexicon = "0.11.0" target-lexicon = "0.11.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 = "wasi-c2" name = "wasi-c2"
version = "0.21.0" version = "0.22.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"
@@ -22,7 +22,7 @@ links = "wasi-c2-19"
anyhow = "1.0" anyhow = "1.0"
thiserror = "1.0" thiserror = "1.0"
libc = "0.2" libc = "0.2"
wiggle = { path = "../wiggle", default-features = false, version = "0.21.0" } wiggle = { path = "../wiggle", default-features = false, version = "0.22.0" }
tracing = "0.1.19" tracing = "0.1.19"
system-interface = "0.2" system-interface = "0.2"
cap-std = "0.8" cap-std = "0.8"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasi-c2-wasmtime" name = "wasi-c2-wasmtime"
version = "0.21.0" version = "0.22.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"
@@ -15,8 +15,8 @@ publish = false
[dependencies] [dependencies]
wasi-c2 = { path = "../" } wasi-c2 = { path = "../" }
wiggle = { path = "../../wiggle", default-features = false, version = "0.21.0" } wiggle = { path = "../../wiggle", default-features = false, version = "0.22.0" }
wasmtime-wiggle = { path = "../../wiggle/wasmtime", default-features = false, version = "0.21.0" } wasmtime-wiggle = { path = "../../wiggle/wasmtime", default-features = false, version = "0.22.0" }
cap-std = "0.7" cap-std = "0.7"
anyhow = "*" anyhow = "*"
wasmtime = { path = "../../wasmtime" } wasmtime = { path = "../../wasmtime" }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasi-common" name = "wasi-common"
version = "0.21.0" version = "0.22.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"
@@ -24,14 +24,14 @@ getrandom = { version = "0.2.0", features = ["std"] }
cfg-if = "1.0" cfg-if = "1.0"
filetime = "0.2.7" filetime = "0.2.7"
lazy_static = "1.4.0" lazy_static = "1.4.0"
wiggle = { path = "../wiggle", default-features = false, version = "0.21.0" } wiggle = { path = "../wiggle", default-features = false, version = "0.22.0" }
tracing = "0.1.19" tracing = "0.1.19"
[target.'cfg(unix)'.dependencies] [target.'cfg(unix)'.dependencies]
yanix = { path = "yanix", version = "0.21.0" } yanix = { path = "yanix", version = "0.22.0" }
[target.'cfg(windows)'.dependencies] [target.'cfg(windows)'.dependencies]
winx = { path = "winx", version = "0.21.0" } winx = { path = "winx", version = "0.22.0" }
winapi = "0.3" winapi = "0.3"
cpu-time = "1.0" cpu-time = "1.0"

View File

@@ -9,7 +9,7 @@ use crate::sys::stdio::{Stderr, Stdin, Stdout};
use crate::sys::AsFile; use crate::sys::AsFile;
use crate::{Error, Result}; use crate::{Error, Result};
use lazy_static::lazy_static; use lazy_static::lazy_static;
use std::convert::TryInto; use std::convert::{TryFrom, TryInto};
use std::sync::mpsc::{self, Receiver, RecvTimeoutError, Sender, TryRecvError}; use std::sync::mpsc::{self, Receiver, RecvTimeoutError, Sender, TryRecvError};
use std::sync::Mutex; use std::sync::Mutex;
use std::thread; use std::thread;
@@ -81,7 +81,9 @@ impl StdinPoll {
// Linux returns `POLLIN` in both cases, and we imitate this behavior. // Linux returns `POLLIN` in both cases, and we imitate this behavior.
let resp = match std::io::stdin().lock().fill_buf() { let resp = match std::io::stdin().lock().fill_buf() {
Ok(_) => PollState::Ready, Ok(_) => PollState::Ready,
Err(e) => PollState::Error(Errno::from(Error::from(e))), Err(e) => {
PollState::Error(Errno::try_from(Error::from(e)).expect("non-trapping error"))
}
}; };
// Notify the requestor about data in stdin. They may have already timed out, // Notify the requestor about data in stdin. They may have already timed out,
@@ -158,7 +160,9 @@ fn handle_rw_event(event: FdEventData, out_events: &mut Vec<Event>) {
.as_file() .as_file()
.and_then(|f| f.metadata()) .and_then(|f| f.metadata())
.map(|m| m.len()) .map(|m| m.len())
.map_err(|ioerror| Errno::from(Error::from(ioerror))) .map_err(|ioerror| {
Errno::try_from(Error::from(ioerror)).expect("non-trapping error")
})
} else { } else {
// The spec is unclear what nbytes should actually be for __WASI_EVENTTYPE_FD_WRITE and // The spec is unclear what nbytes should actually be for __WASI_EVENTTYPE_FD_WRITE and
// the implementation on Unix just returns 0 here, so it's probably fine // the implementation on Unix just returns 0 here, so it's probably fine

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "winx" name = "winx"
version = "0.21.0" version = "0.22.0"
authors = ["Jakub Konka <kubkon@jakubkonka.com>"] authors = ["Jakub Konka <kubkon@jakubkonka.com>"]
description = "Windows API helper library" description = "Windows API helper library"
documentation = "https://docs.rs/winx" documentation = "https://docs.rs/winx"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "yanix" name = "yanix"
version = "0.21.0" version = "0.22.0"
authors = ["The Wasmtime Project Developers"] authors = ["The Wasmtime Project Developers"]
description = "Yet Another Nix crate: a Unix API helper library" description = "Yet Another Nix crate: a Unix API helper library"
documentation = "https://docs.rs/yanix" documentation = "https://docs.rs/yanix"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-wasi-nn" name = "wasmtime-wasi-nn"
version = "0.21.0" version = "0.22.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,11 +15,11 @@ 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.21.0", default-features = false } wasmtime = { path = "../wasmtime", version = "0.22.0", default-features = false }
wasmtime-runtime = { path = "../runtime", version = "0.21.0" } wasmtime-runtime = { path = "../runtime", version = "0.22.0" }
wasmtime-wiggle = { path = "../wiggle/wasmtime", version = "0.21.0" } wasmtime-wiggle = { path = "../wiggle/wasmtime", version = "0.22.0" }
wasmtime-wasi = { path = "../wasi", version = "0.21.0" } wasmtime-wasi = { path = "../wasi", version = "0.22.0" }
wiggle = { path = "../wiggle", version = "0.21.0" } wiggle = { path = "../wiggle", version = "0.22.0" }
# These dependencies are necessary for the wasi-nn implementation: # These dependencies are necessary for the wasi-nn implementation:
openvino = "0.1.5" openvino = "0.1.5"

View File

@@ -11,4 +11,4 @@ publish = false
# This crate is only used when building the example, so it's separate # This crate is only used when building the example, so it's separate
# from the main Wasmtime build, so use this directive to exclude it # from the main Wasmtime build, so use this directive to exclude it
# from the parent directory's workspace. # from the parent directory's workspace.
[workspace] [workspace]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-wasi" name = "wasmtime-wasi"
version = "0.21.0" version = "0.22.0"
authors = ["The Cranelift Project Developers"] authors = ["The Cranelift Project Developers"]
description = "WASI API support for Wasmtime" description = "WASI API support for Wasmtime"
documentation = "https://docs.rs/wasmtime-wasi" documentation = "https://docs.rs/wasmtime-wasi"
@@ -14,11 +14,11 @@ edition = "2018"
[dependencies] [dependencies]
anyhow = "1.0" anyhow = "1.0"
tracing = "0.1.15" tracing = "0.1.15"
wasi-common = { path = "../wasi-common", version = "0.21.0" } wasi-common = { path = "../wasi-common", version = "0.22.0" }
wasmtime = { path = "../wasmtime", version = "0.21.0", default-features = false } wasmtime = { path = "../wasmtime", version = "0.22.0", default-features = false }
wasmtime-runtime = { path = "../runtime", version = "0.21.0" } wasmtime-runtime = { path = "../runtime", version = "0.22.0" }
wiggle = { path = "../wiggle", version = "0.21.0" } wiggle = { path = "../wiggle", version = "0.22.0" }
wasmtime-wiggle = { path = "../wiggle/wasmtime", version = "0.21.0" } wasmtime-wiggle = { path = "../wiggle/wasmtime", version = "0.22.0" }
[badges] [badges]
maintenance = { status = "actively-developed" } maintenance = { status = "actively-developed" }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime" name = "wasmtime"
version = "0.21.0" version = "0.22.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"
@@ -10,11 +10,11 @@ readme = "README.md"
edition = "2018" edition = "2018"
[dependencies] [dependencies]
wasmtime-runtime = { path = "../runtime", version = "0.21.0" } wasmtime-runtime = { path = "../runtime", version = "0.22.0" }
wasmtime-environ = { path = "../environ", version = "0.21.0" } wasmtime-environ = { path = "../environ", version = "0.22.0" }
wasmtime-jit = { path = "../jit", version = "0.21.0" } wasmtime-jit = { path = "../jit", version = "0.22.0" }
wasmtime-cache = { path = "../cache", version = "0.21.0", optional = true } wasmtime-cache = { path = "../cache", version = "0.22.0", optional = true }
wasmtime-profiling = { path = "../profiling", version = "0.21.0" } wasmtime-profiling = { path = "../profiling", version = "0.22.0" }
target-lexicon = { version = "0.11.0", default-features = false } target-lexicon = { version = "0.11.0", default-features = false }
wasmparser = "0.71" wasmparser = "0.71"
anyhow = "1.0.19" anyhow = "1.0.19"

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-wast" name = "wasmtime-wast"
version = "0.21.0" version = "0.22.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"
@@ -12,7 +12,7 @@ edition = "2018"
[dependencies] [dependencies]
anyhow = "1.0.19" anyhow = "1.0.19"
wasmtime = { path = "../wasmtime", version = "0.21.0", default-features = false } wasmtime = { path = "../wasmtime", version = "0.22.0", default-features = false }
wast = "29.0.0" wast = "29.0.0"
[badges] [badges]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wiggle" name = "wiggle"
version = "0.21.0" version = "0.22.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,7 +13,7 @@ include = ["src/**/*", "LICENSE"]
[dependencies] [dependencies]
thiserror = "1" thiserror = "1"
witx = { path = "../wasi-common/WASI/tools/witx", version = "0.8.7", optional = true } witx = { path = "../wasi-common/WASI/tools/witx", version = "0.8.7", optional = true }
wiggle-macro = { path = "macro", version = "0.21.0" } wiggle-macro = { path = "macro", version = "0.22.0" }
tracing = "0.1.15" tracing = "0.1.15"
[badges] [badges]

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wiggle-borrow" name = "wiggle-borrow"
version = "0.21.0" version = "0.22.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"
@@ -11,7 +11,7 @@ repository = "https://github.com/bytecodealliance/wasmtime"
include = ["src/**/*", "LICENSE"] include = ["src/**/*", "LICENSE"]
[dependencies] [dependencies]
wiggle = { path = "..", version = "0.21.0" } wiggle = { path = "..", version = "0.22.0" }
[badges] [badges]
maintenance = { status = "actively-developed" } maintenance = { status = "actively-developed" }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wiggle-generate" name = "wiggle-generate"
version = "0.21.0" version = "0.22.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.21.0" version = "0.22.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.21.0" } wiggle-generate = { path = "../generate", version = "0.22.0" }
witx = { path = "../../wasi-common/WASI/tools/witx", version = "0.8.7" } witx = { path = "../../wasi-common/WASI/tools/witx", version = "0.8.7" }
quote = "1.0" quote = "1.0"
syn = { version = "1.0", features = ["full"] } syn = { version = "1.0", features = ["full"] }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-wiggle" name = "wasmtime-wiggle"
version = "0.21.0" version = "0.22.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"
@@ -11,11 +11,11 @@ repository = "https://github.com/bytecodealliance/wasmtime"
include = ["src/**/*", "LICENSE"] include = ["src/**/*", "LICENSE"]
[dependencies] [dependencies]
wasmtime = { path = "../../wasmtime", version = "0.21.0", default-features = false } wasmtime = { path = "../../wasmtime", version = "0.22.0", default-features = false }
wasmtime-wiggle-macro = { path = "./macro", version = "0.21.0" } wasmtime-wiggle-macro = { path = "./macro", version = "0.22.0" }
witx = { path = "../../wasi-common/WASI/tools/witx", version = "0.8.7", optional = true } witx = { path = "../../wasi-common/WASI/tools/witx", version = "0.8.7", optional = true }
wiggle = { path = "..", version = "0.21.0" } wiggle = { path = "..", version = "0.22.0" }
wiggle-borrow = { path = "../borrow", version = "0.21.0" } wiggle-borrow = { path = "../borrow", version = "0.22.0" }
[badges] [badges]
maintenance = { status = "actively-developed" } maintenance = { status = "actively-developed" }

View File

@@ -1,6 +1,6 @@
[package] [package]
name = "wasmtime-wiggle-macro" name = "wasmtime-wiggle-macro"
version = "0.21.0" version = "0.22.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"
@@ -16,7 +16,7 @@ test = false
[dependencies] [dependencies]
witx = { path = "../../../wasi-common/WASI/tools/witx", version = "0.8.7" } witx = { path = "../../../wasi-common/WASI/tools/witx", version = "0.8.7" }
wiggle-generate = { path = "../../generate", version = "0.21.0" } wiggle-generate = { path = "../../generate", version = "0.22.0" }
quote = "1.0" quote = "1.0"
syn = { version = "1.0", features = ["full", "extra-traits"] } syn = { version = "1.0", features = ["full", "extra-traits"] }
proc-macro2 = "1.0" proc-macro2 = "1.0"