Skip to content

Commit 81f1dc9

Browse files
authored
Merge pull request bytecodealliance#3123 from cfallin/release-0.29
Bump to Wasmtime v0.29.0 and Cranelift 0.76.0.
2 parents 63a3bbb + a13a777 commit 81f1dc9

File tree

52 files changed

+343
-235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+343
-235
lines changed

Cargo.lock

Lines changed: 46 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "wasmtime-cli"
3-
version = "0.28.0"
3+
version = "0.29.0"
44
authors = ["The Wasmtime Project Developers"]
55
description = "Command-line interface for Wasmtime"
66
license = "Apache-2.0 WITH LLVM-exception"
@@ -22,16 +22,16 @@ doc = false
2222

2323
[dependencies]
2424
# Enable all supported architectures by default.
25-
wasmtime = { path = "crates/wasmtime", version = "0.28.0", default-features = false, features = ['cache'] }
26-
wasmtime-cache = { path = "crates/cache", version = "0.28.0" }
27-
wasmtime-debug = { path = "crates/debug", version = "0.28.0" }
28-
wasmtime-environ = { path = "crates/environ", version = "0.28.0" }
29-
wasmtime-jit = { path = "crates/jit", version = "0.28.0" }
30-
wasmtime-obj = { path = "crates/obj", version = "0.28.0" }
31-
wasmtime-wast = { path = "crates/wast", version = "0.28.0" }
32-
wasmtime-wasi = { path = "crates/wasi", version = "0.28.0" }
33-
wasmtime-wasi-crypto = { path = "crates/wasi-crypto", version = "0.28.0", optional = true }
34-
wasmtime-wasi-nn = { path = "crates/wasi-nn", version = "0.28.0", optional = true }
25+
wasmtime = { path = "crates/wasmtime", version = "0.29.0", default-features = false, features = ['cache'] }
26+
wasmtime-cache = { path = "crates/cache", version = "0.29.0" }
27+
wasmtime-debug = { path = "crates/debug", version = "0.29.0" }
28+
wasmtime-environ = { path = "crates/environ", version = "0.29.0" }
29+
wasmtime-jit = { path = "crates/jit", version = "0.29.0" }
30+
wasmtime-obj = { path = "crates/obj", version = "0.29.0" }
31+
wasmtime-wast = { path = "crates/wast", version = "0.29.0" }
32+
wasmtime-wasi = { path = "crates/wasi", version = "0.29.0" }
33+
wasmtime-wasi-crypto = { path = "crates/wasi-crypto", version = "0.29.0", optional = true }
34+
wasmtime-wasi-nn = { path = "crates/wasi-nn", version = "0.29.0", optional = true }
3535
structopt = { version = "0.3.5", features = ["color", "suggestions"] }
3636
object = { version = "0.26.0", default-features = false, features = ["write"] }
3737
anyhow = "1.0.19"

RELEASES.md

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,114 @@
44

55
## Unreleased
66

7+
## 0.29.0
8+
9+
Released 2021-07-28.
10+
11+
### Changed
12+
13+
* Instance exports are now loaded lazily from instances instead of eagerly as
14+
they were before. This is an internal-only change and is not a breaking
15+
change.
16+
[#2984](https://github.com/bytecodealliance/wasmtime/pull/2984)
17+
18+
* All linear memories created by Wasmtime will now, by default, have guard pages
19+
in front of them in addition to after them. This is intended to help mitigate
20+
future bugs in Cranelift, should they arise.
21+
[#2977](https://github.com/bytecodealliance/wasmtime/pull/2977)
22+
23+
* Linear memories now correctly support a maximum size of 4GB. Previously, the
24+
limit field was 32 bits, which did not properly support a full 4GB memory.
25+
This update is also a necessary change in preparation for future memory64
26+
support.
27+
[#3013](https://github.com/bytecodealliance/wasmtime/pull/3013)
28+
[#3134](https://github.com/bytecodealliance/wasmtime/pull/3134)
29+
30+
* Injection counts of fuel into a `wasmtime::Store` now uses a u64 instead of a
31+
u32.
32+
[#3048](https://github.com/bytecodealliance/wasmtime/pull/3048)
33+
34+
### Added
35+
36+
* Support for `i128` has improved in the AArch64 backend.
37+
[#2959](https://github.com/bytecodealliance/wasmtime/pull/2959)
38+
[#2975](https://github.com/bytecodealliance/wasmtime/pull/2975)
39+
[#2985](https://github.com/bytecodealliance/wasmtime/pull/2985)
40+
[#2990](https://github.com/bytecodealliance/wasmtime/pull/2990)
41+
[#3002](https://github.com/bytecodealliance/wasmtime/pull/3002)
42+
[#3004](https://github.com/bytecodealliance/wasmtime/pull/3004)
43+
[#3005](https://github.com/bytecodealliance/wasmtime/pull/3005)
44+
[#3008](https://github.com/bytecodealliance/wasmtime/pull/3008)
45+
[#3027](https://github.com/bytecodealliance/wasmtime/pull/3027)
46+
47+
* The s390x backend now supports z14 and atomics.
48+
[#2988](https://github.com/bytecodealliance/wasmtime/pull/2988)
49+
[#2991](https://github.com/bytecodealliance/wasmtime/pull/2991)
50+
51+
* The `wasmtime::Linker` type now implements `Clone`.
52+
[#2993](https://github.com/bytecodealliance/wasmtime/pull/2993)
53+
54+
* Support for the SIMD proposal on both x86\_64 and AArch64 has improved. On
55+
x86\_64, all SIMD opcodes are now supported.
56+
[#2997](https://github.com/bytecodealliance/wasmtime/pull/2997)
57+
[#3035](https://github.com/bytecodealliance/wasmtime/pull/3035)
58+
[#2982](https://github.com/bytecodealliance/wasmtime/pull/2982)
59+
[#3084](https://github.com/bytecodealliance/wasmtime/pull/3084)
60+
[#3082](https://github.com/bytecodealliance/wasmtime/pull/3082)
61+
[#3107](https://github.com/bytecodealliance/wasmtime/pull/3107)
62+
[#3105](https://github.com/bytecodealliance/wasmtime/pull/3105)
63+
[#3114](https://github.com/bytecodealliance/wasmtime/pull/3114)
64+
[#3070](https://github.com/bytecodealliance/wasmtime/pull/3070)
65+
[#3126](https://github.com/bytecodealliance/wasmtime/pull/3126)
66+
67+
* A `Trap` can now display its reason without also displaying the backtrace.
68+
[#3033](https://github.com/bytecodealliance/wasmtime/pull/3033)
69+
70+
* An initiall fuzzer for CLIF has been added.
71+
[#3038](https://github.com/bytecodealliance/wasmtime/pull/3038)
72+
73+
* High-level architecture documentation has been added for Wasmtime.
74+
[#3019](https://github.com/bytecodealliance/wasmtime/pull/3019)
75+
76+
* Support for multi-memory can now be configured in Wasmtime's C API.
77+
[#3071](https://github.com/bytecodealliance/wasmtime/pull/3071)
78+
79+
* The `wasmtime` crate now supports a `posix-signals-on-macos` feature to force
80+
the usage of signals instead of mach ports to handle traps on macOS.
81+
[#3063](https://github.com/bytecodealliance/wasmtime/pull/3063)
82+
83+
* Wasmtime's C API now has a `wasmtime_trap_code` function to get the raw trap
84+
code, if present, for a trap.
85+
[#3086](https://github.com/bytecodealliance/wasmtime/pull/3086)
86+
87+
* Wasmtime's C API now has a `wasmtime_linker_define_func` function to define a
88+
store-independent function within a linker.
89+
[#3122](https://github.com/bytecodealliance/wasmtime/pull/3122)
90+
91+
* A `wasmtime::Linker::module_async` function was added as the asynchronous
92+
counterpart to `wasmtime::Linker::module`.
93+
[#3121](https://github.com/bytecodealliance/wasmtime/pull/3121)
94+
95+
### Fixed
96+
97+
* Compiling the `wasmtime` crate into a `dylib` crate type has been fixed.
98+
[#3010](https://github.com/bytecodealliance/wasmtime/pull/3010)
99+
100+
* The enter/exit hooks for WebAssembly are now executed for an instance's
101+
`start` function, if present.
102+
[#3001](https://github.com/bytecodealliance/wasmtime/pull/3001)
103+
104+
* Some WASI functions in `wasi-common` have been fixed for big-endian platforms.
105+
[#3016](https://github.com/bytecodealliance/wasmtime/pull/3016)
106+
107+
* Wasmtime no longer erroneously assumes that all custom sections may contain
108+
DWARF information, reducing instances of `Trap`'s `Display` implementation
109+
providing misleading information to set an env var to get more information.
110+
[#3083](https://github.com/bytecodealliance/wasmtime/pull/3083)
111+
112+
* Some issues with parsing DWARF debug information have been fixed.
113+
[#3116](https://github.com/bytecodealliance/wasmtime/pull/3116)
114+
7115
## 0.28.0
8116

9117
Released 2021-06-09.

cranelift/Cargo.toml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -15,28 +15,28 @@ path = "src/clif-util.rs"
1515

1616
[dependencies]
1717
cfg-if = "1.0"
18-
cranelift-codegen = { path = "codegen", version = "0.75.0" }
19-
cranelift-entity = { path = "entity", version = "0.75.0" }
20-
cranelift-interpreter = { path = "interpreter", version = "0.75.0" }
21-
cranelift-reader = { path = "reader", version = "0.75.0" }
22-
cranelift-frontend = { path = "frontend", version = "0.75.0" }
23-
cranelift-serde = { path = "serde", version = "0.75.0", optional = true }
24-
cranelift-wasm = { path = "wasm", version = "0.75.0", optional = true }
25-
cranelift-native = { path = "native", version = "0.75.0" }
18+
cranelift-codegen = { path = "codegen", version = "0.76.0" }
19+
cranelift-entity = { path = "entity", version = "0.76.0" }
20+
cranelift-interpreter = { path = "interpreter", version = "0.76.0" }
21+
cranelift-reader = { path = "reader", version = "0.76.0" }
22+
cranelift-frontend = { path = "frontend", version = "0.76.0" }
23+
cranelift-serde = { path = "serde", version = "0.76.0", optional = true }
24+
cranelift-wasm = { path = "wasm", version = "0.76.0", optional = true }
25+
cranelift-native = { path = "native", version = "0.76.0" }
2626
cranelift-filetests = { path = "filetests", version = "0.73.0" }
27-
cranelift-module = { path = "module", version = "0.75.0" }
28-
cranelift-object = { path = "object", version = "0.75.0" }
29-
cranelift-jit = { path = "jit", version = "0.75.0" }
30-
cranelift-preopt = { path = "preopt", version = "0.75.0" }
31-
cranelift = { path = "umbrella", version = "0.75.0" }
27+
cranelift-module = { path = "module", version = "0.76.0" }
28+
cranelift-object = { path = "object", version = "0.76.0" }
29+
cranelift-jit = { path = "jit", version = "0.76.0" }
30+
cranelift-preopt = { path = "preopt", version = "0.76.0" }
31+
cranelift = { path = "umbrella", version = "0.76.0" }
3232
cranelift-fuzzgen = { path = "fuzzgen", version = "0.75.0" }
3333
filecheck = "0.5.0"
3434
log = "0.4.8"
3535
termcolor = "1.1.2"
3636
capstone = { version = "0.9.0", optional = true }
3737
wat = { version = "1.0.36", optional = true }
3838
target-lexicon = { version = "0.12", features = ["std"] }
39-
peepmatic-souper = { path = "./peepmatic/crates/souper", version = "0.75.0", optional = true }
39+
peepmatic-souper = { path = "./peepmatic/crates/souper", version = "0.76.0", optional = true }
4040
pretty_env_logger = "0.4.0"
4141
rayon = { version = "1", optional = true }
4242
file-per-thread-logger = "0.1.2"

cranelift/bforest/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
authors = ["The Cranelift Project Developers"]
33
name = "cranelift-bforest"
4-
version = "0.75.0"
4+
version = "0.76.0"
55
description = "A forest of B+-trees"
66
license = "Apache-2.0 WITH LLVM-exception"
77
documentation = "https://docs.rs/cranelift-bforest"
@@ -12,7 +12,7 @@ keywords = ["btree", "forest", "set", "map"]
1212
edition = "2018"
1313

1414
[dependencies]
15-
cranelift-entity = { path = "../entity", version = "0.75.0", default-features = false }
15+
cranelift-entity = { path = "../entity", version = "0.76.0", default-features = false }
1616

1717
[badges]
1818
maintenance = { status = "experimental" }

cranelift/codegen/Cargo.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
authors = ["The Cranelift Project Developers"]
33
name = "cranelift-codegen"
4-
version = "0.75.0"
4+
version = "0.76.0"
55
description = "Low-level code generator library"
66
license = "Apache-2.0 WITH LLVM-exception"
77
documentation = "https://docs.rs/cranelift-codegen"
@@ -13,19 +13,19 @@ build = "build.rs"
1313
edition = "2018"
1414

1515
[dependencies]
16-
cranelift-codegen-shared = { path = "./shared", version = "0.75.0" }
17-
cranelift-entity = { path = "../entity", version = "0.75.0" }
18-
cranelift-bforest = { path = "../bforest", version = "0.75.0" }
16+
cranelift-codegen-shared = { path = "./shared", version = "0.76.0" }
17+
cranelift-entity = { path = "../entity", version = "0.76.0" }
18+
cranelift-bforest = { path = "../bforest", version = "0.76.0" }
1919
hashbrown = { version = "0.9.1", optional = true }
2020
target-lexicon = "0.12"
2121
log = { version = "0.4.6", default-features = false }
2222
serde = { version = "1.0.94", features = ["derive"], optional = true }
2323
bincode = { version = "1.2.1", optional = true }
2424
gimli = { version = "0.25.0", default-features = false, features = ["write"], optional = true }
2525
smallvec = { version = "1.6.1" }
26-
peepmatic = { path = "../peepmatic", optional = true, version = "0.75.0" }
27-
peepmatic-traits = { path = "../peepmatic/crates/traits", optional = true, version = "0.75.0" }
28-
peepmatic-runtime = { path = "../peepmatic/crates/runtime", optional = true, version = "0.75.0" }
26+
peepmatic = { path = "../peepmatic", optional = true, version = "0.76.0" }
27+
peepmatic-traits = { path = "../peepmatic/crates/traits", optional = true, version = "0.76.0" }
28+
peepmatic-runtime = { path = "../peepmatic/crates/runtime", optional = true, version = "0.76.0" }
2929
regalloc = { version = "0.0.31" }
3030
souper-ir = { version = "2.1.0", optional = true }
3131
wast = { version = "36.0.0", optional = true }
@@ -38,7 +38,7 @@ wast = { version = "36.0.0", optional = true }
3838
criterion = "0.3"
3939

4040
[build-dependencies]
41-
cranelift-codegen-meta = { path = "meta", version = "0.75.0" }
41+
cranelift-codegen-meta = { path = "meta", version = "0.76.0" }
4242

4343
[features]
4444
default = ["std", "unwind"]

cranelift/codegen/meta/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "cranelift-codegen-meta"
33
authors = ["The Cranelift Project Developers"]
4-
version = "0.75.0"
4+
version = "0.76.0"
55
description = "Metaprogram for cranelift-codegen code generator library"
66
license = "Apache-2.0 WITH LLVM-exception"
77
repository = "https://github.com/bytecodealliance/wasmtime"
@@ -13,8 +13,8 @@ edition = "2018"
1313
# rustdoc-args = [ "--document-private-items" ]
1414

1515
[dependencies]
16-
cranelift-codegen-shared = { path = "../shared", version = "0.75.0" }
17-
cranelift-entity = { path = "../../entity", version = "0.75.0" }
16+
cranelift-codegen-shared = { path = "../shared", version = "0.76.0" }
17+
cranelift-entity = { path = "../../entity", version = "0.76.0" }
1818

1919
[badges]
2020
maintenance = { status = "experimental" }

cranelift/codegen/shared/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
authors = ["The Cranelift Project Developers"]
33
name = "cranelift-codegen-shared"
4-
version = "0.75.0"
4+
version = "0.76.0"
55
description = "For code shared between cranelift-codegen-meta and cranelift-codegen"
66
license = "Apache-2.0 WITH LLVM-exception"
77
repository = "https://github.com/bytecodealliance/wasmtime"

cranelift/entity/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
authors = ["The Cranelift Project Developers"]
33
name = "cranelift-entity"
4-
version = "0.75.0"
4+
version = "0.76.0"
55
description = "Data structures using entity references as mapping keys"
66
license = "Apache-2.0 WITH LLVM-exception"
77
documentation = "https://docs.rs/cranelift-entity"

cranelift/filetests/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ publish = false
1010
edition = "2018"
1111

1212
[dependencies]
13-
cranelift-codegen = { path = "../codegen", version = "0.75.0", features = ["testing_hooks"] }
14-
cranelift-frontend = { path = "../frontend", version = "0.75.0" }
15-
cranelift-interpreter = { path = "../interpreter", version = "0.75.0" }
16-
cranelift-native = { path = "../native", version = "0.75.0" }
17-
cranelift-reader = { path = "../reader", version = "0.75.0" }
18-
cranelift-preopt = { path = "../preopt", version = "0.75.0" }
13+
cranelift-codegen = { path = "../codegen", version = "0.76.0", features = ["testing_hooks"] }
14+
cranelift-frontend = { path = "../frontend", version = "0.76.0" }
15+
cranelift-interpreter = { path = "../interpreter", version = "0.76.0" }
16+
cranelift-native = { path = "../native", version = "0.76.0" }
17+
cranelift-reader = { path = "../reader", version = "0.76.0" }
18+
cranelift-preopt = { path = "../preopt", version = "0.76.0" }
1919
file-per-thread-logger = "0.1.2"
2020
filecheck = "0.5.0"
2121
gimli = { version = "0.25.0", default-features = false, features = ["read"] }

0 commit comments

Comments
 (0)