Skip to content

Commit

Permalink
Prepare Wasmi v0.40.0 (#1319)
Browse files Browse the repository at this point in the history
* bump Wasmi crate versions

* write changelog for v0.40.0

* update changelog for v0.40.0

* add note to changelog
  • Loading branch information
Robbepop authored Nov 27, 2024
1 parent d33e99f commit c69d026
Show file tree
Hide file tree
Showing 3 changed files with 78 additions and 30 deletions.
48 changes: 48 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,54 @@ Additionally we have an `Internal` section for changes that are of interest to d

Dates in this file are formattes as `YYYY-MM-DD`.

## [`0.40.0`] - 2024-11-27

This release focuses on compile time improvements for Wasmi,
significantly reducing the time it takes to compile Wasmi and
decrease its compiled artifact size.

### Added

- Added optimization for `load` and `store` lowering. [#1303]
- This reduces the total number of Wasmi instructions.
- Added `prefix-symbols` crate feature to `wasmi_c_api_impl` crate. [#1315]
- This allows to prefix all exported symbols with `wasmi_` in order to
avoid duplicate symbols when linking multiple Wasm runtimes implementing
the Wasm C-API.

### Fixed

- C-API
- Fix a minor compilation issue. [#1296]
- Fix the name of `wasmi_config_compilation_mode_set` [#1298]
- Conditionally forward the `string-interner/std` crate feature. [#1304]
- Fix Wasmtime fuzzer oracle config usage. [#1314]

### Changed

- Bumped minimum supported Rust version from v1.79 -> v1.80. [#1318]
- Replace the `wasmparser-nostd` fork with upstream `wasmparser`. [#1141]
- This allows Wasmi to implement new Wasm proposals.
- Unfortunately this update also regresses Wasmi translation performance
by roughly 5-15% depending on the exact Wasm blob and translation mode.
- Update the `string-interner` and `hashbrown` dependencies. [#1305]

### Internal

- Update the `wast` dependency for Wasmi's Wast runner. [#1306]
- Update `wasm-tools` dependencies to `v0.221`. [#1318]

[#1141]: https://github.com/wasmi-labs/wasmi/pull/1141
[#1296]: https://github.com/wasmi-labs/wasmi/pull/1296
[#1298]: https://github.com/wasmi-labs/wasmi/pull/1298
[#1303]: https://github.com/wasmi-labs/wasmi/pull/1303
[#1304]: https://github.com/wasmi-labs/wasmi/pull/1304
[#1305]: https://github.com/wasmi-labs/wasmi/pull/1305
[#1306]: https://github.com/wasmi-labs/wasmi/pull/1306
[#1314]: https://github.com/wasmi-labs/wasmi/pull/1314
[#1315]: https://github.com/wasmi-labs/wasmi/pull/1315
[#1318]: https://github.com/wasmi-labs/wasmi/pull/1318

## [`0.39.1`] - 2024-11-06

### Fixed
Expand Down
38 changes: 19 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 11 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ resolver = "2"
[workspace.package]
authors = ["Robin Freyler <[email protected]>"]
repository = "https://github.com/wasmi-labs/wasmi"
version = "0.39.1"
rust-version = "1.80"
version = "0.40.0"
rust-version = "1.79"
edition = "2021"
readme = "README.md"
license = "MIT/Apache-2.0"
Expand All @@ -28,15 +28,15 @@ categories = ["wasm", "no-std", "virtualization"]
exclude = ["tests"]

[workspace.dependencies]
wasmi = { version = "0.39.1", path = "crates/wasmi", default-features = false }
wasmi_wasi = { version = "0.39.1", path = "crates/wasi", default-features = false }
wasmi_core = { version = "0.39.1", path = "crates/core", default-features = false }
wasmi_ir = { version = "0.39.1", path = "crates/ir", default-features = false }
wasmi_collections = { version = "0.39.1", path = "crates/collections", default-features = false }
wasmi_c_api_impl = { version = "0.39.1", path = "crates/c_api" }
wasmi_c_api_macros = { version = "0.39.1", path = "crates/c_api/macro" }
wasmi_fuzz = { version = "0.39.1", path = "crates/fuzz" }
wasmi_wast = { version = "0.39.1", path = "crates/wast" }
wasmi = { version = "0.40.0", path = "crates/wasmi", default-features = false }
wasmi_wasi = { version = "0.40.0", path = "crates/wasi", default-features = false }
wasmi_core = { version = "0.40.0", path = "crates/core", default-features = false }
wasmi_ir = { version = "0.40.0", path = "crates/ir", default-features = false }
wasmi_collections = { version = "0.40.0", path = "crates/collections", default-features = false }
wasmi_c_api_impl = { version = "0.40.0", path = "crates/c_api" }
wasmi_c_api_macros = { version = "0.40.0", path = "crates/c_api/macro" }
wasmi_fuzz = { version = "0.40.0", path = "crates/fuzz" }
wasmi_wast = { version = "0.40.0", path = "crates/wast" }

[profile.bench]
lto = "fat"
Expand Down

0 comments on commit c69d026

Please sign in to comment.