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

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-cli"
version = "0.21.0"
version = "0.22.0"
authors = ["The Wasmtime Project Developers"]
description = "Command-line interface for Wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
@@ -22,16 +22,16 @@ doc = false
[dependencies]
# Enable all supported architectures by default.
wasmtime = { path = "crates/wasmtime", version = "0.21.0", default-features = false, features = ['cache'] }
wasmtime-cache = { path = "crates/cache", version = "0.21.0" }
wasmtime-debug = { path = "crates/debug", version = "0.21.0" }
wasmtime-environ = { path = "crates/environ", version = "0.21.0" }
wasmtime-jit = { path = "crates/jit", version = "0.21.0" }
wasmtime-obj = { path = "crates/obj", version = "0.21.0" }
wasmtime-wast = { path = "crates/wast", version = "0.21.0" }
wasmtime-wasi = { path = "crates/wasi", version = "0.21.0" }
wasmtime-wasi-nn = { path = "crates/wasi-nn", version = "0.21.0", optional = true }
wasi-common = { path = "crates/wasi-common", version = "0.21.0" }
wasmtime = { path = "crates/wasmtime", version = "0.22.0", default-features = false, features = ['cache'] }
wasmtime-cache = { path = "crates/cache", version = "0.22.0" }
wasmtime-debug = { path = "crates/debug", version = "0.22.0" }
wasmtime-environ = { path = "crates/environ", version = "0.22.0" }
wasmtime-jit = { path = "crates/jit", version = "0.22.0" }
wasmtime-obj = { path = "crates/obj", version = "0.22.0" }
wasmtime-wast = { path = "crates/wast", version = "0.22.0" }
wasmtime-wasi = { path = "crates/wasi", version = "0.22.0" }
wasmtime-wasi-nn = { path = "crates/wasi-nn", version = "0.22.0", optional = true }
wasi-common = { path = "crates/wasi-common", version = "0.22.0" }
structopt = { version = "0.3.5", features = ["color", "suggestions"] }
object = { version = "0.22.0", default-features = false, features = ["write"] }
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
Released 2020-11-05.

View File

@@ -15,27 +15,27 @@ path = "src/clif-util.rs"
[dependencies]
cfg-if = "1.0"
cranelift-codegen = { path = "codegen", version = "0.68.0" }
cranelift-entity = { path = "entity", version = "0.68.0" }
cranelift-interpreter = { path = "interpreter", version = "0.68.0" }
cranelift-reader = { path = "reader", version = "0.68.0" }
cranelift-frontend = { path = "frontend", version = "0.68.0" }
cranelift-serde = { path = "serde", version = "0.68.0", optional = true }
cranelift-wasm = { path = "wasm", version = "0.68.0", optional = true }
cranelift-native = { path = "native", version = "0.68.0" }
cranelift-codegen = { path = "codegen", version = "0.69.0" }
cranelift-entity = { path = "entity", version = "0.69.0" }
cranelift-interpreter = { path = "interpreter", version = "0.69.0" }
cranelift-reader = { path = "reader", version = "0.69.0" }
cranelift-frontend = { path = "frontend", version = "0.69.0" }
cranelift-serde = { path = "serde", version = "0.69.0", optional = true }
cranelift-wasm = { path = "wasm", version = "0.69.0", optional = true }
cranelift-native = { path = "native", version = "0.69.0" }
cranelift-filetests = { path = "filetests", version = "0.66.0" }
cranelift-module = { path = "module", version = "0.68.0" }
cranelift-object = { path = "object", version = "0.68.0" }
cranelift-jit = { path = "jit", version = "0.68.0" }
cranelift-preopt = { path = "preopt", version = "0.68.0" }
cranelift = { path = "umbrella", version = "0.68.0" }
cranelift-module = { path = "module", version = "0.69.0" }
cranelift-object = { path = "object", version = "0.69.0" }
cranelift-jit = { path = "jit", version = "0.69.0" }
cranelift-preopt = { path = "preopt", version = "0.69.0" }
cranelift = { path = "umbrella", version = "0.69.0" }
filecheck = "0.5.0"
log = "0.4.8"
term = "0.6.1"
capstone = { version = "0.7.0", optional = true }
wat = { version = "1.0.18", optional = true }
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"
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.68.0"
version = "0.69.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.68.0", default-features = false }
cranelift-entity = { path = "../entity", version = "0.69.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.68.0"
version = "0.69.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.68.0" }
cranelift-entity = { path = "../entity", version = "0.68.0" }
cranelift-bforest = { path = "../bforest", version = "0.68.0" }
cranelift-codegen-shared = { path = "./shared", version = "0.69.0" }
cranelift-entity = { path = "../entity", version = "0.69.0" }
cranelift-bforest = { path = "../bforest", version = "0.69.0" }
hashbrown = { version = "0.9.1", optional = true }
target-lexicon = "0.11"
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" }
thiserror = "1.0.4"
byteorder = { version = "1.3.2", default-features = false }
peepmatic = { path = "../peepmatic", optional = true, version = "0.68.0" }
peepmatic-traits = { path = "../peepmatic/crates/traits", optional = true, version = "0.68.0" }
peepmatic-runtime = { path = "../peepmatic/crates/runtime", 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.69.0" }
peepmatic-runtime = { path = "../peepmatic/crates/runtime", optional = true, version = "0.69.0" }
regalloc = { version = "0.0.31" }
souper-ir = { version = "2.1.0", optional = true }
wast = { version = "29.0.0", optional = true }
@@ -37,7 +37,7 @@ wast = { version = "29.0.0", optional = true }
# accomodated in `tests`.
[build-dependencies]
cranelift-codegen-meta = { path = "meta", version = "0.68.0" }
cranelift-codegen-meta = { path = "meta", version = "0.69.0" }
[features]
default = ["std", "unwind"]

View File

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

View File

@@ -1,7 +1,7 @@
[package]
authors = ["The Cranelift Project Developers"]
name = "cranelift-codegen-shared"
version = "0.68.0"
version = "0.69.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.68.0"
version = "0.69.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.68.0", features = ["testing_hooks"] }
cranelift-frontend = { path = "../frontend", version = "0.68.0" }
cranelift-interpreter = { path = "../interpreter", version = "0.68.0" }
cranelift-native = { path = "../native", version = "0.68.0" }
cranelift-reader = { path = "../reader", version = "0.68.0" }
cranelift-preopt = { path = "../preopt", version = "0.68.0" }
cranelift-codegen = { path = "../codegen", version = "0.69.0", features = ["testing_hooks"] }
cranelift-frontend = { path = "../frontend", version = "0.69.0" }
cranelift-interpreter = { path = "../interpreter", version = "0.69.0" }
cranelift-native = { path = "../native", version = "0.69.0" }
cranelift-reader = { path = "../reader", version = "0.69.0" }
cranelift-preopt = { path = "../preopt", version = "0.69.0" }
byteorder = { version = "1.3.2", default-features = false }
file-per-thread-logger = "0.1.2"
filecheck = "0.5.0"

View File

@@ -1,7 +1,7 @@
[package]
authors = ["The Cranelift Project Developers"]
name = "cranelift-frontend"
version = "0.68.0"
version = "0.69.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.68.0", default-features = false }
cranelift-codegen = { path = "../codegen", version = "0.69.0", default-features = false }
target-lexicon = "0.11"
log = { version = "0.4.6", default-features = false }
hashbrown = { version = "0.9.1", optional = true }

View File

@@ -1,6 +1,6 @@
[package]
name = "cranelift-interpreter"
version = "0.68.0"
version = "0.69.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.68.0", features = ["all-arch"] }
cranelift-entity = { path = "../entity", version = "0.68.0" }
cranelift-reader = { path = "../reader", version = "0.68.0" }
cranelift-codegen = { path = "../codegen", version = "0.69.0", features = ["all-arch"] }
cranelift-entity = { path = "../entity", version = "0.69.0" }
cranelift-reader = { path = "../reader", version = "0.69.0" }
log = { version = "0.4.8", default-features = false }
smallvec = "1.4.2"
thiserror = "1.0.15"
[dev-dependencies]
cranelift-frontend = { path = "../frontend", version = "0.68.0" }
cranelift-frontend = { path = "../frontend", version = "0.69.0" }
[badges]
maintenance = { status = "experimental" }

View File

@@ -1,6 +1,6 @@
[package]
name = "cranelift-jit"
version = "0.68.0"
version = "0.69.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.68.0" }
cranelift-native = { path = "../native", version = "0.68.0" }
cranelift-codegen = { path = "../codegen", version = "0.68.0", default-features = false, features = ["std"] }
cranelift-entity = { path = "../entity", version = "0.68.0" }
cranelift-module = { path = "../module", version = "0.69.0" }
cranelift-native = { path = "../native", version = "0.69.0" }
cranelift-codegen = { path = "../codegen", version = "0.69.0", default-features = false, features = ["std"] }
cranelift-entity = { path = "../entity", version = "0.69.0" }
anyhow = "1.0"
region = "2.2.0"
libc = { version = "0.2.42" }
@@ -30,9 +30,9 @@ selinux-fix = ['memmap']
default = []
[dev-dependencies]
cranelift = { path = "../umbrella", version = "0.68.0" }
cranelift-frontend = { path = "../frontend", version = "0.68.0" }
cranelift-entity = { path = "../entity", version = "0.68.0" }
cranelift = { path = "../umbrella", version = "0.69.0" }
cranelift-frontend = { path = "../frontend", version = "0.69.0" }
cranelift-entity = { path = "../entity", version = "0.69.0" }
[badges]
maintenance = { status = "experimental" }

View File

@@ -1,6 +1,6 @@
[package]
name = "cranelift-module"
version = "0.68.0"
version = "0.69.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.68.0", default-features = false }
cranelift-entity = { path = "../entity", version = "0.68.0" }
cranelift-codegen = { path = "../codegen", version = "0.69.0", default-features = false }
cranelift-entity = { path = "../entity", version = "0.69.0" }
hashbrown = { version = "0.9.1", optional = true }
log = { version = "0.4.6", default-features = false }
thiserror = "1.0.4"

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
[package]
name = "peepmatic"
version = "0.68.0"
version = "0.69.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.68.0", path = "crates/automata", features = ["dot"] }
peepmatic-macro = { version = "0.68.0", path = "crates/macro" }
peepmatic-runtime = { version = "0.68.0", path = "crates/runtime", features = ["construct"] }
peepmatic-traits = { version = "0.68.0", path = "crates/traits" }
peepmatic-automata = { version = "0.69.0", path = "crates/automata", features = ["dot"] }
peepmatic-macro = { version = "0.69.0", path = "crates/macro" }
peepmatic-runtime = { version = "0.69.0", path = "crates/runtime", features = ["construct"] }
peepmatic-traits = { version = "0.69.0", path = "crates/traits" }
serde = { version = "1.0.105", features = ["derive"] }
wast = "29.0.0"
z3 = { version = "0.7.1", features = ["static-link-z3"] }
[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]
name = "peepmatic-automata"
version = "0.68.0"
version = "0.69.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.68.0"
version = "0.69.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.68.0"
version = "0.69.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.68.0", path = "../automata", features = ["serde"] }
peepmatic-traits = { version = "0.68.0", path = "../traits" }
peepmatic-automata = { version = "0.69.0", path = "../automata", features = ["serde"] }
peepmatic-traits = { version = "0.69.0", path = "../traits" }
serde = { version = "1.0.105", features = ["derive"] }
thiserror = "1.0.15"
wast = { version = "29.0.0", optional = true }
[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"
[features]

View File

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

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
[package]
name = "cranelift-serde"
version = "0.68.0"
version = "0.69.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.68.0" }
cranelift-reader = { path = "../reader", version = "0.68.0" }
cranelift-codegen = { path = "../codegen", version = "0.69.0" }
cranelift-reader = { path = "../reader", version = "0.69.0" }
[badges]
maintenance = { status = "experimental" }

View File

@@ -1,7 +1,7 @@
[package]
authors = ["The Cranelift Project Developers"]
name = "cranelift"
version = "0.68.0"
version = "0.69.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.68.0", default-features = false }
cranelift-frontend = { path = "../frontend", version = "0.68.0", default-features = false }
cranelift-codegen = { path = "../codegen", version = "0.69.0", default-features = false }
cranelift-frontend = { path = "../frontend", version = "0.69.0", default-features = false }
[features]
default = ["std"]

View File

@@ -1,6 +1,6 @@
[package]
name = "cranelift-wasm"
version = "0.68.0"
version = "0.69.0"
authors = ["The Cranelift Project Developers"]
description = "Translator from WebAssembly to Cranelift IR"
documentation = "https://docs.rs/cranelift-wasm"
@@ -13,9 +13,9 @@ edition = "2018"
[dependencies]
wasmparser = { version = "0.71", default-features = false }
cranelift-codegen = { path = "../codegen", version = "0.68.0", default-features = false }
cranelift-entity = { path = "../entity", version = "0.68.0" }
cranelift-frontend = { path = "../frontend", version = "0.68.0", default-features = false }
cranelift-codegen = { path = "../codegen", version = "0.69.0", default-features = false }
cranelift-entity = { path = "../entity", version = "0.69.0" }
cranelift-frontend = { path = "../frontend", version = "0.69.0", default-features = false }
hashbrown = { version = "0.9.1", optional = true }
itertools = "0.9.0"
log = { version = "0.4.6", default-features = false }
@@ -27,7 +27,7 @@ thiserror = "1.0.4"
wat = "1.0.23"
target-lexicon = "0.11"
# 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]
default = ["std"]

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-cache"
version = "0.21.0"
version = "0.22.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.21.0"
version = "0.22.0"
authors = ["The Wasmtime Project Developers"]
description = "Integration between Cranelift and Wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
@@ -12,8 +12,8 @@ readme = "README.md"
edition = "2018"
[dependencies]
wasmtime-environ = { path = "../environ", version = "0.21.0" }
cranelift-wasm = { path = "../../cranelift/wasm", version = "0.68.0" }
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.68.0" }
cranelift-frontend = { path = "../../cranelift/frontend", version = "0.68.0" }
cranelift-entity = { path = "../../cranelift/entity", version = "0.68.0" }
wasmtime-environ = { path = "../environ", version = "0.22.0" }
cranelift-wasm = { path = "../../cranelift/wasm", version = "0.69.0" }
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.69.0" }
cranelift-frontend = { path = "../../cranelift/frontend", version = "0.69.0" }
cranelift-entity = { path = "../../cranelift/entity", version = "0.69.0" }

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-debug"
version = "0.21.0"
version = "0.22.0"
authors = ["The Wasmtime Project Developers"]
description = "Debug utils for WebAsssembly code in Cranelift"
license = "Apache-2.0 WITH LLVM-exception"
@@ -15,7 +15,7 @@ edition = "2018"
gimli = "0.23.0"
wasmparser = "0.71"
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 }
anyhow = "1.0"
thiserror = "1.0.4"

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-environ"
version = "0.21.0"
version = "0.22.0"
authors = ["The Wasmtime Project Developers"]
description = "Standalone environment support for WebAsssembly code in Cranelift"
license = "Apache-2.0 WITH LLVM-exception"
@@ -13,9 +13,9 @@ edition = "2018"
[dependencies]
anyhow = "1.0"
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.68.0", features = ["enable-serde"] }
cranelift-entity = { path = "../../cranelift/entity", version = "0.68.0", features = ["enable-serde"] }
cranelift-wasm = { path = "../../cranelift/wasm", 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.69.0", features = ["enable-serde"] }
cranelift-wasm = { path = "../../cranelift/wasm", version = "0.69.0", features = ["enable-serde"] }
wasmparser = "0.71"
indexmap = { version = "1.0.2", features = ["serde-1"] }
thiserror = "1.0.4"

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-jit"
version = "0.21.0"
version = "0.22.0"
authors = ["The Wasmtime Project Developers"]
description = "JIT-style execution for WebAsssembly code in Cranelift"
documentation = "https://docs.rs/wasmtime-jit"
@@ -12,18 +12,18 @@ readme = "README.md"
edition = "2018"
[dependencies]
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.68.0", features = ["enable-serde"] }
cranelift-entity = { path = "../../cranelift/entity", version = "0.68.0", features = ["enable-serde"] }
cranelift-wasm = { path = "../../cranelift/wasm", version = "0.68.0", features = ["enable-serde"] }
cranelift-native = { path = "../../cranelift/native", version = "0.68.0" }
cranelift-frontend = { path = "../../cranelift/frontend", version = "0.68.0" }
wasmtime-environ = { path = "../environ", version = "0.21.0" }
wasmtime-runtime = { path = "../runtime", version = "0.21.0" }
wasmtime-cranelift = { path = "../cranelift", version = "0.21.0" }
wasmtime-lightbeam = { path = "../lightbeam/wasmtime", version = "0.21.0", optional = true }
wasmtime-debug = { path = "../debug", version = "0.21.0" }
wasmtime-profiling = { path = "../profiling", version = "0.21.0" }
wasmtime-obj = { path = "../obj", version = "0.21.0" }
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.69.0", features = ["enable-serde"] }
cranelift-entity = { path = "../../cranelift/entity", version = "0.69.0", features = ["enable-serde"] }
cranelift-wasm = { path = "../../cranelift/wasm", version = "0.69.0", features = ["enable-serde"] }
cranelift-native = { path = "../../cranelift/native", version = "0.69.0" }
cranelift-frontend = { path = "../../cranelift/frontend", version = "0.69.0" }
wasmtime-environ = { path = "../environ", version = "0.22.0" }
wasmtime-runtime = { path = "../runtime", version = "0.22.0" }
wasmtime-cranelift = { path = "../cranelift", version = "0.22.0" }
wasmtime-lightbeam = { path = "../lightbeam/wasmtime", version = "0.22.0", optional = true }
wasmtime-debug = { path = "../debug", version = "0.22.0" }
wasmtime-profiling = { path = "../profiling", version = "0.22.0" }
wasmtime-obj = { path = "../obj", version = "0.22.0" }
rayon = { version = "1.0", optional = true }
region = "2.1.0"
thiserror = "1.0.4"

View File

@@ -1,6 +1,6 @@
[package]
name = "lightbeam"
version = "0.21.0"
version = "0.22.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.7.0"
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.68.0" }
cranelift-codegen = { path = "../../cranelift/codegen", version = "0.69.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.21.0"
version = "0.22.0"
authors = ["The Wasmtime Project Developers"]
description = "Integration between Lightbeam and Wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
@@ -12,7 +12,7 @@ readme = "README.md"
edition = "2018"
[dependencies]
lightbeam = { path = "..", version = "0.21.0" }
lightbeam = { path = "..", version = "0.22.0" }
wasmparser = "0.71"
cranelift-codegen = { path = "../../../cranelift/codegen", version = "0.68.0" }
wasmtime-environ = { path = "../../environ", version = "0.21.0" }
cranelift-codegen = { path = "../../../cranelift/codegen", version = "0.69.0" }
wasmtime-environ = { path = "../../environ", version = "0.22.0" }

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-obj"
version = "0.21.0"
version = "0.22.0"
authors = ["The Wasmtime Project Developers"]
description = "Native object file output for WebAsssembly code in Wasmtime"
license = "Apache-2.0 WITH LLVM-exception"
@@ -12,11 +12,11 @@ edition = "2018"
[dependencies]
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"] }
more-asserts = "0.2.1"
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]
maintenance = { status = "experimental" }

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-profiling"
version = "0.21.0"
version = "0.22.0"
authors = ["The Wasmtime Project Developers"]
description = "Runtime library support for Wasmtime"
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 }
serde = { version = "1.0.99", features = ["derive"] }
target-lexicon = "0.11.0"
wasmtime-environ = { path = "../environ", version = "0.21.0" }
wasmtime-runtime = { path = "../runtime", version = "0.21.0" }
wasmtime-environ = { path = "../environ", version = "0.22.0" }
wasmtime-runtime = { path = "../runtime", version = "0.22.0" }
ittapi-rs = { version = "0.1.5", optional = true }
[dependencies.object]

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-runtime"
version = "0.21.0"
version = "0.22.0"
authors = ["The Wasmtime Project Developers"]
description = "Runtime library support for Wasmtime"
documentation = "https://docs.rs/wasmtime-runtime"
@@ -12,7 +12,7 @@ readme = "README.md"
edition = "2018"
[dependencies]
wasmtime-environ = { path = "../environ", version = "0.21.0" }
wasmtime-environ = { path = "../environ", version = "0.22.0" }
region = "2.1.0"
libc = { version = "0.2.70", default-features = false }
log = "0.4.8"

View File

@@ -11,9 +11,9 @@ license = "Apache-2.0 WITH LLVM-exception"
cfg-if = "1.0"
[dev-dependencies]
wasi-c2 = { path = "../wasi-c2", version = "0.21.0" }
wasi-c2-wasmtime = { path = "../wasi-c2/wasmtime", version = "0.21.0" }
wasmtime = { path = "../wasmtime", version = "0.21.0" }
wasi-c2 = { path = "../wasi-c2", version = "0.22.0" }
wasi-c2-wasmtime = { path = "../wasi-c2/wasmtime", version = "0.22.0" }
wasmtime = { path = "../wasmtime", version = "0.22.0" }
target-lexicon = "0.11.0"
pretty_env_logger = "0.4.0"
tempfile = "3.1.0"

View File

@@ -1,6 +1,6 @@
[package]
name = "wasi-c2"
version = "0.21.0"
version = "0.22.0"
authors = ["The Wasmtime Project Developers"]
description = "WASI implementation in Rust"
license = "Apache-2.0 WITH LLVM-exception"
@@ -22,7 +22,7 @@ links = "wasi-c2-19"
anyhow = "1.0"
thiserror = "1.0"
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"
system-interface = "0.2"
cap-std = "0.8"

View File

@@ -1,6 +1,6 @@
[package]
name = "wasi-c2-wasmtime"
version = "0.21.0"
version = "0.22.0"
authors = ["The Wasmtime Project Developers"]
description = "WASI implementation in Rust"
license = "Apache-2.0 WITH LLVM-exception"
@@ -15,8 +15,8 @@ publish = false
[dependencies]
wasi-c2 = { path = "../" }
wiggle = { path = "../../wiggle", default-features = false, version = "0.21.0" }
wasmtime-wiggle = { path = "../../wiggle/wasmtime", 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.22.0" }
cap-std = "0.7"
anyhow = "*"
wasmtime = { path = "../../wasmtime" }

View File

@@ -1,6 +1,6 @@
[package]
name = "wasi-common"
version = "0.21.0"
version = "0.22.0"
authors = ["The Wasmtime Project Developers"]
description = "WASI implementation in Rust"
license = "Apache-2.0 WITH LLVM-exception"
@@ -24,14 +24,14 @@ getrandom = { version = "0.2.0", features = ["std"] }
cfg-if = "1.0"
filetime = "0.2.7"
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"
[target.'cfg(unix)'.dependencies]
yanix = { path = "yanix", version = "0.21.0" }
yanix = { path = "yanix", version = "0.22.0" }
[target.'cfg(windows)'.dependencies]
winx = { path = "winx", version = "0.21.0" }
winx = { path = "winx", version = "0.22.0" }
winapi = "0.3"
cpu-time = "1.0"

View File

@@ -9,7 +9,7 @@ use crate::sys::stdio::{Stderr, Stdin, Stdout};
use crate::sys::AsFile;
use crate::{Error, Result};
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::Mutex;
use std::thread;
@@ -81,7 +81,9 @@ impl StdinPoll {
// Linux returns `POLLIN` in both cases, and we imitate this behavior.
let resp = match std::io::stdin().lock().fill_buf() {
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,
@@ -158,7 +160,9 @@ fn handle_rw_event(event: FdEventData, out_events: &mut Vec<Event>) {
.as_file()
.and_then(|f| f.metadata())
.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 {
// 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

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime-wasi-nn"
version = "0.21.0"
version = "0.22.0"
authors = ["The Wasmtime Project Developers"]
description = "Wasmtime implementation of the wasi-nn API"
documentation = "https://docs.rs/wasmtime-wasi-nn"
@@ -15,11 +15,11 @@ 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.21.0", default-features = false }
wasmtime-runtime = { path = "../runtime", version = "0.21.0" }
wasmtime-wiggle = { path = "../wiggle/wasmtime", version = "0.21.0" }
wasmtime-wasi = { path = "../wasi", version = "0.21.0" }
wiggle = { path = "../wiggle", version = "0.21.0" }
wasmtime = { path = "../wasmtime", version = "0.22.0", default-features = false }
wasmtime-runtime = { path = "../runtime", version = "0.22.0" }
wasmtime-wiggle = { path = "../wiggle/wasmtime", version = "0.22.0" }
wasmtime-wasi = { path = "../wasi", version = "0.22.0" }
wiggle = { path = "../wiggle", version = "0.22.0" }
# These dependencies are necessary for the wasi-nn implementation:
openvino = "0.1.5"

View File

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

View File

@@ -1,6 +1,6 @@
[package]
name = "wasmtime"
version = "0.21.0"
version = "0.22.0"
authors = ["The Wasmtime Project Developers"]
description = "High-level API to expose the Wasmtime runtime"
documentation = "https://docs.rs/wasmtime"
@@ -10,11 +10,11 @@ readme = "README.md"
edition = "2018"
[dependencies]
wasmtime-runtime = { path = "../runtime", version = "0.21.0" }
wasmtime-environ = { path = "../environ", version = "0.21.0" }
wasmtime-jit = { path = "../jit", version = "0.21.0" }
wasmtime-cache = { path = "../cache", version = "0.21.0", optional = true }
wasmtime-profiling = { path = "../profiling", version = "0.21.0" }
wasmtime-runtime = { path = "../runtime", version = "0.22.0" }
wasmtime-environ = { path = "../environ", version = "0.22.0" }
wasmtime-jit = { path = "../jit", version = "0.22.0" }
wasmtime-cache = { path = "../cache", version = "0.22.0", optional = true }
wasmtime-profiling = { path = "../profiling", version = "0.22.0" }
target-lexicon = { version = "0.11.0", default-features = false }
wasmparser = "0.71"
anyhow = "1.0.19"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,6 +1,6 @@
[package]
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>"]
edition = "2018"
license = "Apache-2.0 WITH LLVM-exception"
@@ -16,7 +16,7 @@ test = false
[dependencies]
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"
syn = { version = "1.0", features = ["full", "extra-traits"] }
proc-macro2 = "1.0"