summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorHenry Gressmann <mail@henrygressmann.de>2024-03-27 11:26:12 +0100
committerHenry Gressmann <mail@henrygressmann.de>2024-03-27 11:30:47 +0100
commite074c5d6142dbe0cf7992c894829c2cce463157e (patch)
treed163d74a8d2bb080cfaca849c11661e87e21e0a8 /crates
parent877622ee8c374fbfe78f35e992423f4ce91ae89c (diff)
Release 0.6.0
tinywasm@0.6.0 tinywasm-cli@0.6.0 tinywasm-parser@0.6.0 tinywasm-types@0.6.0 wasm-testsuite@0.3.0 Generated by cargo-workspaces
Diffstat (limited to 'crates')
-rw-r--r--crates/cli/Cargo.toml2
-rw-r--r--crates/parser/Cargo.toml2
-rw-r--r--crates/tinywasm/Cargo.toml4
-rw-r--r--crates/tinywasm/tests/testsuite/run.rs4
-rw-r--r--crates/tinywasm/tests/testsuite/util.rs4
-rw-r--r--crates/wasm-testsuite/Cargo.toml2
6 files changed, 9 insertions, 9 deletions
diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml
index 7d54ced..0012483 100644
--- a/crates/cli/Cargo.toml
+++ b/crates/cli/Cargo.toml
@@ -14,7 +14,7 @@ path="src/bin.rs"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
-tinywasm={version="0.5.0", path="../tinywasm", features=["std", "parser"]}
+tinywasm={version="0.6.0", path="../tinywasm", features=["std", "parser"]}
argh="0.1"
color-eyre={version="0.6", default-features=false}
log="0.4"
diff --git a/crates/parser/Cargo.toml b/crates/parser/Cargo.toml
index 6ba7461..6057c30 100644
--- a/crates/parser/Cargo.toml
+++ b/crates/parser/Cargo.toml
@@ -11,7 +11,7 @@ repository.workspace=true
# fork of wasmparser with no_std support, see https://github.com/bytecodealliance/wasmtime/issues/3495
wasmparser={version="0.202.0", package="tinywasm-wasmparser", default-features=false}
log={version="0.4", optional=true}
-tinywasm-types={version="0.5.0", path="../types", default-features=false}
+tinywasm-types={version="0.6.0", path="../types", default-features=false}
[features]
default=["std", "logging"]
diff --git a/crates/tinywasm/Cargo.toml b/crates/tinywasm/Cargo.toml
index 0af1d0c..81d0eeb 100644
--- a/crates/tinywasm/Cargo.toml
+++ b/crates/tinywasm/Cargo.toml
@@ -14,8 +14,8 @@ path="src/lib.rs"
[dependencies]
_log={version="0.4", optional=true, package="log"}
-tinywasm-parser={version="0.5.0", path="../parser", default-features=false, optional=true}
-tinywasm-types={version="0.5.0", path="../types", default-features=false}
+tinywasm-parser={version="0.6.0", path="../parser", default-features=false, optional=true}
+tinywasm-types={version="0.6.0", path="../types", default-features=false}
libm={version="0.2", default-features=false}
[dev-dependencies]
diff --git a/crates/tinywasm/tests/testsuite/run.rs b/crates/tinywasm/tests/testsuite/run.rs
index 2b2bbc4..aed23bd 100644
--- a/crates/tinywasm/tests/testsuite/run.rs
+++ b/crates/tinywasm/tests/testsuite/run.rs
@@ -291,7 +291,7 @@ impl TestSuite {
)?;
return Ok(());
}
- wast::WastExecute::Get { module: _, global: _ } => {
+ wast::WastExecute::Get { module: _, global: _, .. } => {
panic!("get not supported");
}
wast::WastExecute::Invoke(invoke) => invoke,
@@ -395,7 +395,7 @@ impl TestSuite {
let invoke = match match exec {
wast::WastExecute::Wat(_) => Err(eyre!("wat not supported")),
- wast::WastExecute::Get { module: module_id, global } => {
+ wast::WastExecute::Get { module: module_id, global, .. } => {
let module = registered_modules.get(module_id, &store);
let Some(module) = module else {
test_group.add_result(
diff --git a/crates/tinywasm/tests/testsuite/util.rs b/crates/tinywasm/tests/testsuite/util.rs
index a45c59f..7b3ff1e 100644
--- a/crates/tinywasm/tests/testsuite/util.rs
+++ b/crates/tinywasm/tests/testsuite/util.rs
@@ -155,7 +155,7 @@ trait FloatToken {
}
}
}
-impl FloatToken for wast::token::Float32 {
+impl FloatToken for wast::token::F32 {
fn bits(&self) -> Bits {
Bits::U32(self.bits)
}
@@ -168,7 +168,7 @@ impl FloatToken for wast::token::Float32 {
WasmValue::F32(f32::NAN)
}
}
-impl FloatToken for wast::token::Float64 {
+impl FloatToken for wast::token::F64 {
fn bits(&self) -> Bits {
Bits::U64(self.bits)
}
diff --git a/crates/wasm-testsuite/Cargo.toml b/crates/wasm-testsuite/Cargo.toml
index 2e2fc21..3e12db5 100644
--- a/crates/wasm-testsuite/Cargo.toml
+++ b/crates/wasm-testsuite/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name="wasm-testsuite"
-version="0.2.2"
+version="0.3.0"
description="Mirror of the WebAssembly core testsuite for use in testing WebAssembly implementations"
license="Apache-2.0"
readme="README.md"