Skip to content

Commit

Permalink
Merge pull request #2557 from fitzgen/wasmtime-0.22.0
Browse files Browse the repository at this point in the history
Wasmtime 0.22.0
  • Loading branch information
fitzgen committed Jan 7, 2021
2 parents ee7131b + 3a3f35e commit 9f4859b
Show file tree
Hide file tree
Showing 55 changed files with 288 additions and 243 deletions.
98 changes: 49 additions & 49 deletions Cargo.lock

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"
Expand Down
45 changes: 45 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
28 changes: 14 additions & 14 deletions cranelift/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions cranelift/bforest/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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" }
16 changes: 8 additions & 8 deletions cranelift/codegen/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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 }
Expand All @@ -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 }
Expand All @@ -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"]
Expand Down
6 changes: 3 additions & 3 deletions cranelift/codegen/meta/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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" }
2 changes: 1 addition & 1 deletion cranelift/codegen/shared/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion cranelift/entity/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
12 changes: 6 additions & 6 deletions cranelift/filetests/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions cranelift/frontend/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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 }
Expand Down
10 changes: 5 additions & 5 deletions cranelift/interpreter/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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" }
16 changes: 8 additions & 8 deletions cranelift/jit/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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" }
Expand All @@ -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" }
6 changes: 3 additions & 3 deletions cranelift/module/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions cranelift/native/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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]
Expand Down
10 changes: 5 additions & 5 deletions cranelift/object/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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" }

0 comments on commit 9f4859b

Please sign in to comment.