diff options
| author | Henry Gressmann <mail@henrygressmann.de> | 2024-09-10 00:26:55 +0200 |
|---|---|---|
| committer | Henry Gressmann <mail@henrygressmann.de> | 2024-09-10 00:26:55 +0200 |
| commit | 58fe7ce65d7a43bc05e0f3036fcfb15a33c50cbc (patch) | |
| tree | 764fb643f03c90269c8d797aa6aed11761ad1da5 | |
| parent | 34ea51ad9ccedbec3c3371104ff4240de84abdc5 (diff) | |
docs: update changelog/contributing
Signed-off-by: Henry Gressmann <mail@henrygressmann.de>
| -rw-r--r-- | .cargo/config.toml | 2 | ||||
| -rw-r--r-- | CHANGELOG.md | 13 | ||||
| -rw-r--r-- | CONTRIBUTING.md | 24 |
3 files changed, 13 insertions, 26 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml index e25dc35..fc2d7f9 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,7 +1,5 @@ [alias] version-dev="workspaces version --no-git-commit --force tinywasm*" -dev="run -- -l debug run" - test-wasm-1="test --package tinywasm --test test-wasm-1 --release" test-wasm-2="test --package tinywasm --test test-wasm-2 --release" test-wast="test --package tinywasm --test test-wast" diff --git a/CHANGELOG.md b/CHANGELOG.md index b9b18b9..16b7533 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,18 +5,25 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -<!-- ## [Unreleased] --> +## [Unreleased] + +### Added + +- Support for the custom memory page sizes proposal ([#22](https://github.com/explodingcamera/tinywasm/pull/22) by [@danielstuart14](https://github.com/danielstuart14)) ## [0.8.0] - 2024-08-29 **All Commits**: https://github.com/explodingcamera/tinywasm/compare/v0.7.0...v0.8.0 -### Changed +### Added - Full support for Multi-Memory proposal +- Improved support for WebAssembly 2.0 features + +### Changed + - Extern tables now correctly update their type after growing - Increased MSRV to 1.80.0 -- Improved support for WebAssembly 2.0 features - Simplify and optimize the interpreter loop - Use a seperate stack and locals for 32, 64 and 128 bit values and references (#21) - Updated to latest `wasmparser` version diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e1ca837..933b19f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -2,29 +2,11 @@ > To improve the development experience, a number of custom commands and aliases have been added to the `.cargo/config.toml` file. These can be run using `cargo <command>`. -- **`cargo dev [args]`**\ - e.g. `cargo dev -f check ./examples/wasm/call.wat -a i32:0`\ - Run the development version of the tinywasm-cli. This is the main command used for developing new features.\ - See [tinywasm-cli](./crates/cli) for more information. - -- **`cargo test-mvp`**\ +- **`cargo test-wasm-1`**\ Run the WebAssembly MVP (1.0) test suite. Be sure to cloned this repo with `--recursive` or initialize the submodules with `git submodule update --init --recursive` -- **`cargo test-2`**\ +- **`cargo test-wasm-2`**\ Run the full WebAssembly test suite (2.0) - **`cargo test-wast <path>`**\ - Run a single WAST test file. e.g. `cargo test-wast ./examples/wast/i32.wast` - -- **`cargo version-dev`**\ - Bump the version to the next dev version. This should be used after a release so test results are not overwritten. Does not create a new github release. - -## Workspace Commands - -> These commands require the [cargo-workspaces](https://crates.io/crates/cargo-workspaces) crate to be installed. - -- **`cargo workspaces version`**\ - Bump the version of all crates in the workspace and push changes to git. This is used for releasing new versions on github. - -- **`cargo workspaces publish --publish-as-is`**\ - Publish all crates in the workspace to crates.io. This should be used a new version has been released on github. After publishing, the version should be bumped to the next dev version. + Run a single WAST test file. e.g. `cargo test-wast ./examples/wast/i32.wast`. Useful for debugging failing test-cases. |
