Bump version to 0.2.0
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "wasmtime-wast"
|
||||
version = "0.1.0"
|
||||
version = "0.2.0"
|
||||
authors = ["The Wasmtime Project Developers"]
|
||||
publish = false
|
||||
description = "wast testing support for wasmtime"
|
||||
@@ -12,13 +12,13 @@ readme = "README.md"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
cranelift-codegen = { version = "0.38.0", features = ["enable-serde"] }
|
||||
cranelift-wasm = { version = "0.38.0", features = ["enable-serde"] }
|
||||
cranelift-entity = { version = "0.38.0", features = ["enable-serde"] }
|
||||
cranelift-codegen = { version = "0.40.0", features = ["enable-serde"] }
|
||||
cranelift-wasm = { version = "0.40.0", features = ["enable-serde"] }
|
||||
cranelift-entity = { version = "0.40.0", features = ["enable-serde"] }
|
||||
wasmtime-jit = { path = "../wasmtime-jit" }
|
||||
wasmtime-runtime = { path = "../wasmtime-runtime" }
|
||||
wasmtime-environ = { path = "../wasmtime-environ" }
|
||||
wabt = "0.7"
|
||||
wabt = "0.9.1"
|
||||
target-lexicon = "0.4.0"
|
||||
failure = { version = "0.1.3", default-features = false }
|
||||
failure_derive = { version = "0.1.3", default-features = false }
|
||||
|
||||
@@ -15,6 +15,7 @@ fn runtime_value(v: Value) -> RuntimeValue {
|
||||
Value::I64(x) => RuntimeValue::I64(x),
|
||||
Value::F32(x) => RuntimeValue::F32(x.to_bits()),
|
||||
Value::F64(x) => RuntimeValue::F64(x.to_bits()),
|
||||
Value::V128(_) => unimplemented!("SIMD"),
|
||||
}
|
||||
}
|
||||
|
||||
@@ -295,7 +296,7 @@ impl WastContext {
|
||||
}
|
||||
}
|
||||
}
|
||||
CommandKind::AssertExhaustion { action } => {
|
||||
CommandKind::AssertExhaustion { action, message } => {
|
||||
match self.perform_action(action).map_err(|error| WastFileError {
|
||||
filename: filename.to_string(),
|
||||
line,
|
||||
@@ -311,10 +312,12 @@ impl WastContext {
|
||||
)),
|
||||
});
|
||||
}
|
||||
ActionOutcome::Trapped { message } => {
|
||||
ActionOutcome::Trapped {
|
||||
message: trap_message,
|
||||
} => {
|
||||
println!(
|
||||
"{}:{}: TODO: Check the assert_exhaustion message: {}",
|
||||
filename, line, message
|
||||
"{}:{}: TODO: Check the assert_exhaustion message: expected {}, got {}",
|
||||
filename, line, message, trap_message
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user