Skip to content

Commit

Permalink
Bump Wasmtime to v0.27.0 and Cranelift to v0.74.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
cfallin committed May 20, 2021
1 parent a1c9b06 commit 8845500
Show file tree
Hide file tree
Showing 56 changed files with 324 additions and 255 deletions.
102 changes: 51 additions & 51 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.26.0"
version = "0.27.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.26.0", default-features = false, features = ['cache'] }
wasmtime-cache = { path = "crates/cache", version = "0.26.0" }
wasmtime-debug = { path = "crates/debug", version = "0.26.0" }
wasmtime-environ = { path = "crates/environ", version = "0.26.0" }
wasmtime-jit = { path = "crates/jit", version = "0.26.0" }
wasmtime-obj = { path = "crates/obj", version = "0.26.0" }
wasmtime-wast = { path = "crates/wast", version = "0.26.0" }
wasmtime-wasi = { path = "crates/wasi", version = "0.26.0" }
wasmtime-wasi-crypto = { path = "crates/wasi-crypto", version = "0.26.0", optional = true }
wasmtime-wasi-nn = { path = "crates/wasi-nn", version = "0.26.0", optional = true }
wasmtime = { path = "crates/wasmtime", version = "0.27.0", default-features = false, features = ['cache'] }
wasmtime-cache = { path = "crates/cache", version = "0.27.0" }
wasmtime-debug = { path = "crates/debug", version = "0.27.0" }
wasmtime-environ = { path = "crates/environ", version = "0.27.0" }
wasmtime-jit = { path = "crates/jit", version = "0.27.0" }
wasmtime-obj = { path = "crates/obj", version = "0.27.0" }
wasmtime-wast = { path = "crates/wast", version = "0.27.0" }
wasmtime-wasi = { path = "crates/wasi", version = "0.27.0" }
wasmtime-wasi-crypto = { path = "crates/wasi-crypto", version = "0.27.0", optional = true }
wasmtime-wasi-nn = { path = "crates/wasi-nn", version = "0.27.0", optional = true }
structopt = { version = "0.3.5", features = ["color", "suggestions"] }
object = { version = "0.24.0", default-features = false, features = ["write"] }
anyhow = "1.0.19"
Expand Down
69 changes: 69 additions & 0 deletions RELEASES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,88 @@

## Unreleased

## 0.27.0

Released 2021-05-21.

### Security Fixes

* Fixed a security issue in Cranelift's x64 backend that could result in a heap
sandbox escape due to an incorrect sign-extension:
[#2913](https://github.com/bytecodealliance/wasmtime/issues/2913).

### Added

* Support for IBM z/Archiecture (`s390x`) machines in Cranelift and Wasmtime:
[#2836](https://github.com/bytecodealliance/wasmtime/pull/2836),
[#2837](https://github.com/bytecodealliance/wasmtime/pull/2837),
[#2838](https://github.com/bytecodealliance/wasmtime/pull/2838),
[#2843](https://github.com/bytecodealliance/wasmtime/pull/2843),
[#2854](https://github.com/bytecodealliance/wasmtime/pull/2854),
[#2870](https://github.com/bytecodealliance/wasmtime/pull/2870),
[#2871](https://github.com/bytecodealliance/wasmtime/pull/2871),
[#2872](https://github.com/bytecodealliance/wasmtime/pull/2872),
[#2874](https://github.com/bytecodealliance/wasmtime/pull/2874).

* Improved async support in wasi-common runtime:
[#2832](https://github.com/bytecodealliance/wasmtime/pull/2832).

* Added `Store::with_limits`, `StoreLimits`, and `ResourceLimiter` to the
Wasmtime API to help with enforcing resource limits at runtime. The
`ResourceLimiter` trait can be implemented by custom resource limiters to
decide if linear memories or tables can be grown.

* Added `allow-unknown-exports` option for the run command:
[#2879](https://github.com/bytecodealliance/wasmtime/pull/2879).

* Added API to notify that a `Store` has moved to a new thread:
[#2822](https://github.com/bytecodealliance/wasmtime/pull/2822).

* Documented guidance around using Wasmtime in multithreaded contexts:
[#2812](https://github.com/bytecodealliance/wasmtime/pull/2812).
In the future, the Wasmtime API will change to allow some of its core types
to be Send/Sync; see the in-progress
[#2897](https://github.com/bytecodealliance/wasmtime/pull/2897) for details.

* Support calls from native code to multiple-return-value functions:
[#2806](https://github.com/bytecodealliance/wasmtime/pull/2806).

### Changed

* Breaking: `Memory::new` has been changed to return `Result` as creating a
host memory object is now a fallible operation when the initial size of
the memory exceeds the store limits.

### Fixed

* Many instruction selection improvements on x64 and aarch64:
[#2819](https://github.com/bytecodealliance/wasmtime/pull/2819),
[#2828](https://github.com/bytecodealliance/wasmtime/pull/2828),
[#2823](https://github.com/bytecodealliance/wasmtime/pull/2823),
[#2862](https://github.com/bytecodealliance/wasmtime/pull/2862),
[#2886](https://github.com/bytecodealliance/wasmtime/pull/2886),
[#2889](https://github.com/bytecodealliance/wasmtime/pull/2889),
[#2905](https://github.com/bytecodealliance/wasmtime/pull/2905).

* Improved performance of Wasmtime runtime substantially:
[#2811](https://github.com/bytecodealliance/wasmtime/pull/2811),
[#2818](https://github.com/bytecodealliance/wasmtime/pull/2818),
[#2821](https://github.com/bytecodealliance/wasmtime/pull/2821),
[#2847](https://github.com/bytecodealliance/wasmtime/pull/2847),
[#2900](https://github.com/bytecodealliance/wasmtime/pull/2900).

* Fixed WASI issue with file metadata on Windows:
[#2884](https://github.com/bytecodealliance/wasmtime/pull/2884).

* Fixed an issue with debug info and an underflowing (trapping) offset:
[#2866](https://github.com/bytecodealliance/wasmtime/pull/2866).

* Fixed an issue with unwind information in the old x86 backend:
[#2845](https://github.com/bytecodealliance/wasmtime/pull/2845).

* Fixed i32 spilling in x64 backend:
[#2840](https://github.com/bytecodealliance/wasmtime/pull/2840).

## 0.26.0

Released 2021-04-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.73.0" }
cranelift-entity = { path = "entity", version = "0.73.0" }
cranelift-interpreter = { path = "interpreter", version = "0.73.0" }
cranelift-reader = { path = "reader", version = "0.73.0" }
cranelift-frontend = { path = "frontend", version = "0.73.0" }
cranelift-serde = { path = "serde", version = "0.73.0", optional = true }
cranelift-wasm = { path = "wasm", version = "0.73.0", optional = true }
cranelift-native = { path = "native", version = "0.73.0" }
cranelift-codegen = { path = "codegen", version = "0.74.0" }
cranelift-entity = { path = "entity", version = "0.74.0" }
cranelift-interpreter = { path = "interpreter", version = "0.74.0" }
cranelift-reader = { path = "reader", version = "0.74.0" }
cranelift-frontend = { path = "frontend", version = "0.74.0" }
cranelift-serde = { path = "serde", version = "0.74.0", optional = true }
cranelift-wasm = { path = "wasm", version = "0.74.0", optional = true }
cranelift-native = { path = "native", version = "0.74.0" }
cranelift-filetests = { path = "filetests", version = "0.73.0" }
cranelift-module = { path = "module", version = "0.73.0" }
cranelift-object = { path = "object", version = "0.73.0" }
cranelift-jit = { path = "jit", version = "0.73.0" }
cranelift-preopt = { path = "preopt", version = "0.73.0" }
cranelift = { path = "umbrella", version = "0.73.0" }
cranelift-module = { path = "module", version = "0.74.0" }
cranelift-object = { path = "object", version = "0.74.0" }
cranelift-jit = { path = "jit", version = "0.74.0" }
cranelift-preopt = { path = "preopt", version = "0.74.0" }
cranelift = { path = "umbrella", version = "0.74.0" }
filecheck = "0.5.0"
log = "0.4.8"
termcolor = "1.1.2"
capstone = { version = "0.7.0", optional = true }
wat = { version = "1.0.36", optional = true }
target-lexicon = { version = "0.12", features = ["std"] }
peepmatic-souper = { path = "./peepmatic/crates/souper", version = "0.73.0", optional = true }
peepmatic-souper = { path = "./peepmatic/crates/souper", version = "0.74.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.73.0"
version = "0.74.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.73.0", default-features = false }
cranelift-entity = { path = "../entity", version = "0.74.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.73.0"
version = "0.74.0"
description = "Low-level code generator library"
license = "Apache-2.0 WITH LLVM-exception"
documentation = "https://docs.rs/cranelift-codegen"
Expand All @@ -13,19 +13,19 @@ build = "build.rs"
edition = "2018"

[dependencies]
cranelift-codegen-shared = { path = "./shared", version = "0.73.0" }
cranelift-entity = { path = "../entity", version = "0.73.0" }
cranelift-bforest = { path = "../bforest", version = "0.73.0" }
cranelift-codegen-shared = { path = "./shared", version = "0.74.0" }
cranelift-entity = { path = "../entity", version = "0.74.0" }
cranelift-bforest = { path = "../bforest", version = "0.74.0" }
hashbrown = { version = "0.9.1", optional = true }
target-lexicon = "0.12"
log = { version = "0.4.6", default-features = false }
serde = { version = "1.0.94", features = ["derive"], optional = true }
bincode = { version = "1.2.1", optional = true }
gimli = { version = "0.24.0", default-features = false, features = ["write"], optional = true }
smallvec = { version = "1.6.1" }
peepmatic = { path = "../peepmatic", optional = true, version = "0.73.0" }
peepmatic-traits = { path = "../peepmatic/crates/traits", optional = true, version = "0.73.0" }
peepmatic-runtime = { path = "../peepmatic/crates/runtime", optional = true, version = "0.73.0" }
peepmatic = { path = "../peepmatic", optional = true, version = "0.74.0" }
peepmatic-traits = { path = "../peepmatic/crates/traits", optional = true, version = "0.74.0" }
peepmatic-runtime = { path = "../peepmatic/crates/runtime", optional = true, version = "0.74.0" }
regalloc = { version = "0.0.31" }
souper-ir = { version = "2.1.0", optional = true }
wast = { version = "35.0.0", optional = true }
Expand All @@ -38,7 +38,7 @@ wast = { version = "35.0.0", optional = true }
criterion = "0.3"

[build-dependencies]
cranelift-codegen-meta = { path = "meta", version = "0.73.0" }
cranelift-codegen-meta = { path = "meta", version = "0.74.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.73.0"
version = "0.74.0"
description = "Metaprogram for cranelift-codegen code generator library"
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/bytecodealliance/wasmtime"
Expand All @@ -13,8 +13,8 @@ edition = "2018"
# rustdoc-args = [ "--document-private-items" ]

[dependencies]
cranelift-codegen-shared = { path = "../shared", version = "0.73.0" }
cranelift-entity = { path = "../../entity", version = "0.73.0" }
cranelift-codegen-shared = { path = "../shared", version = "0.74.0" }
cranelift-entity = { path = "../../entity", version = "0.74.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.73.0"
version = "0.74.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.73.0"
version = "0.74.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.73.0", features = ["testing_hooks"] }
cranelift-frontend = { path = "../frontend", version = "0.73.0" }
cranelift-interpreter = { path = "../interpreter", version = "0.73.0" }
cranelift-native = { path = "../native", version = "0.73.0" }
cranelift-reader = { path = "../reader", version = "0.73.0" }
cranelift-preopt = { path = "../preopt", version = "0.73.0" }
cranelift-codegen = { path = "../codegen", version = "0.74.0", features = ["testing_hooks"] }
cranelift-frontend = { path = "../frontend", version = "0.74.0" }
cranelift-interpreter = { path = "../interpreter", version = "0.74.0" }
cranelift-native = { path = "../native", version = "0.74.0" }
cranelift-reader = { path = "../reader", version = "0.74.0" }
cranelift-preopt = { path = "../preopt", version = "0.74.0" }
file-per-thread-logger = "0.1.2"
filecheck = "0.5.0"
gimli = { version = "0.24.0", default-features = false, features = ["read"] }
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.73.0"
version = "0.74.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.73.0", default-features = false }
cranelift-codegen = { path = "../codegen", version = "0.74.0", default-features = false }
target-lexicon = "0.12"
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.73.0"
version = "0.74.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.73.0", features = ["all-arch"] }
cranelift-entity = { path = "../entity", version = "0.73.0" }
cranelift-codegen = { path = "../codegen", version = "0.74.0", features = ["all-arch"] }
cranelift-entity = { path = "../entity", version = "0.74.0" }
log = { version = "0.4.8", default-features = false }
smallvec = "1.6.1"
thiserror = "1.0.15"

[dev-dependencies]
cranelift-frontend = { path = "../frontend", version = "0.73.0" }
cranelift-reader = { path = "../reader", version = "0.73.0" }
cranelift-frontend = { path = "../frontend", version = "0.74.0" }
cranelift-reader = { path = "../reader", version = "0.74.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.73.0"
version = "0.74.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.73.0" }
cranelift-native = { path = "../native", version = "0.73.0" }
cranelift-codegen = { path = "../codegen", version = "0.73.0", default-features = false, features = ["std"] }
cranelift-entity = { path = "../entity", version = "0.73.0" }
cranelift-module = { path = "../module", version = "0.74.0" }
cranelift-native = { path = "../native", version = "0.74.0" }
cranelift-codegen = { path = "../codegen", version = "0.74.0", default-features = false, features = ["std"] }
cranelift-entity = { path = "../entity", version = "0.74.0" }
anyhow = "1.0"
region = "2.2.0"
libc = { version = "0.2.42" }
Expand All @@ -29,9 +29,9 @@ selinux-fix = ['memmap2']
default = []

[dev-dependencies]
cranelift = { path = "../umbrella", version = "0.73.0" }
cranelift-frontend = { path = "../frontend", version = "0.73.0" }
cranelift-entity = { path = "../entity", version = "0.73.0" }
cranelift = { path = "../umbrella", version = "0.74.0" }
cranelift-frontend = { path = "../frontend", version = "0.74.0" }
cranelift-entity = { path = "../entity", version = "0.74.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.73.0"
version = "0.74.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.73.0", default-features = false }
cranelift-entity = { path = "../entity", version = "0.73.0" }
cranelift-codegen = { path = "../codegen", version = "0.74.0", default-features = false }
cranelift-entity = { path = "../entity", version = "0.74.0" }
hashbrown = { version = "0.9.1", optional = true }
log = { version = "0.4.6", default-features = false }
anyhow = "1.0"
Expand Down
Loading

0 comments on commit 8845500

Please sign in to comment.