Skip to content

Commit

Permalink
Prepare wasmi release version 0.26.1 (#672)
Browse files Browse the repository at this point in the history
* fix Config::floats  docs

* write changelog for version 0.26.1

* bump wasmi version

* fix changelog notes

* further improve bug fix notes
  • Loading branch information
Robbepop committed Feb 13, 2023
1 parent 5ef26a7 commit d8a5021
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Expand Up @@ -8,6 +8,14 @@ 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.26.1`] - 2023-02-13

### Fixed

- Fixed a bug where resuming a resumable function from a host function with more outputs than
inputs could lead to incorrect behavior or runtime panics. (https://github.com/paritytech/wasmi/pull/671)
- Thanks to [Pierre Krieger (tomaka)](https://github.com/tomaka) for reporting and crafting an initial minimal test case.

## [`0.26.0`] - 2023-02-11

### Added
Expand Down
2 changes: 1 addition & 1 deletion crates/cli/Cargo.toml
Expand Up @@ -14,7 +14,7 @@ categories.workspace = true
[dependencies]
anyhow = "1"
clap = { version = "4", features = ["derive"] }
wasmi = { version = "0.26.0", path = "../wasmi" }
wasmi = { version = "0.26.1", path = "../wasmi" }
wasmi_wasi = { version = "0.1.0", path = "../wasi" }
wat = "1"

Expand Down
2 changes: 1 addition & 1 deletion crates/wasi/Cargo.toml
Expand Up @@ -15,7 +15,7 @@ categories.workspace = true
wasi-common = "2.0"
wasi-cap-std-sync = "2.0"
wiggle = { version = "2.0", default-features = false, features = ["wiggle_metadata"] }
wasmi = { version = "0.26.0", path = "../wasmi" }
wasmi = { version = "0.26.1", path = "../wasmi" }

[dev-dependencies]
wat = "1.0.50"
2 changes: 1 addition & 1 deletion crates/wasmi/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "wasmi"
version = "0.26.0"
version = "0.26.1"
documentation = "https://docs.rs/wasmi/"
description = "WebAssembly interpreter"
exclude = ["tests/*", "benches/*"]
Expand Down
3 changes: 1 addition & 2 deletions crates/wasmi/src/engine/config.rs
Expand Up @@ -205,8 +205,7 @@ impl Config {
///
/// # Note
///
/// This can be used to disallow floating-point operators.
/// Note that disabling this does not disable the `f32` and `f64` Wasm types, only the operators that work on them.
/// This can be used to disallow floating-point operators and types.
///
/// Enabled by default.
pub fn floats(&mut self, enable: bool) -> &mut Self {
Expand Down

0 comments on commit d8a5021

Please sign in to comment.