wasmtime-wast: bump wast dependency to 22.0.0
This commit is contained in:
@@ -13,7 +13,7 @@ edition = "2018"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow = "1.0.19"
|
anyhow = "1.0.19"
|
||||||
wasmtime = { path = "../wasmtime", version = "0.19.0", default-features = false }
|
wasmtime = { path = "../wasmtime", version = "0.19.0", default-features = false }
|
||||||
wast = "21.0.0"
|
wast = "22.0.0"
|
||||||
|
|
||||||
[badges]
|
[badges]
|
||||||
maintenance = { status = "actively-developed" }
|
maintenance = { status = "actively-developed" }
|
||||||
|
|||||||
@@ -409,7 +409,7 @@ fn val_matches(actual: &Val, expected: &wast::AssertExpression) -> Result<bool>
|
|||||||
(Val::F32(a), wast::AssertExpression::F32(b)) => f32_matches(*a, b),
|
(Val::F32(a), wast::AssertExpression::F32(b)) => f32_matches(*a, b),
|
||||||
(Val::F64(a), wast::AssertExpression::F64(b)) => f64_matches(*a, b),
|
(Val::F64(a), wast::AssertExpression::F64(b)) => f64_matches(*a, b),
|
||||||
(Val::V128(a), wast::AssertExpression::V128(b)) => v128_matches(*a, b),
|
(Val::V128(a), wast::AssertExpression::V128(b)) => v128_matches(*a, b),
|
||||||
(Val::ExternRef(x), wast::AssertExpression::RefNull(HeapType::Extern)) => x.is_none(),
|
(Val::ExternRef(x), wast::AssertExpression::RefNull(Some(HeapType::Extern))) => x.is_none(),
|
||||||
(Val::ExternRef(x), wast::AssertExpression::RefExtern(y)) => {
|
(Val::ExternRef(x), wast::AssertExpression::RefExtern(y)) => {
|
||||||
if let Some(x) = x {
|
if let Some(x) = x {
|
||||||
let x = x
|
let x = x
|
||||||
@@ -421,7 +421,7 @@ fn val_matches(actual: &Val, expected: &wast::AssertExpression) -> Result<bool>
|
|||||||
false
|
false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
(Val::FuncRef(x), wast::AssertExpression::RefNull(HeapType::Func)) => x.is_none(),
|
(Val::FuncRef(x), wast::AssertExpression::RefNull(_)) => x.is_none(),
|
||||||
_ => bail!(
|
_ => bail!(
|
||||||
"don't know how to compare {:?} and {:?} yet",
|
"don't know how to compare {:?} and {:?} yet",
|
||||||
actual,
|
actual,
|
||||||
|
|||||||
Reference in New Issue
Block a user