Bug 1671874 - Pull a new wat version. r=rhunt

Pull in a version that correctly handles v128.load32_zero and v128.load64_zero.

Differential Revision: https://phabricator.services.mozilla.com/D94271
This commit is contained in:
Lars T Hansen 2020-10-22 07:39:01 +00:00
parent c455096aee
commit e17a63397d
8 changed files with 14 additions and 11 deletions

8
Cargo.lock generated
View File

@ -5592,18 +5592,18 @@ checksum = "57da5d7300428d75d8b3cdfb736e41ee6af8926d69c1de2f201a1a22f234b7b5"
[[package]]
name = "wast"
version = "25.0.2"
version = "26.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "000df4e05cdb4cbc1d0bb1e7e5ea86adb3f1295850c9effb9a47b1086a346895"
checksum = "b3f174eed73e885ede6c8fcc3fbea8c3757afa521840676496cde56bb742ddab"
dependencies = [
"leb128",
]
[[package]]
name = "wat"
version = "1.0.26"
version = "1.0.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4766d466249e23279e92c52033429eb91141c5efea1c4478138fa6f6ef4efe3e"
checksum = "26b2dccbce4d0e14875091846e110a2369267b18ddd0d6423479b88dad914d71"
dependencies = [
"wast",
]

View File

@ -20,5 +20,5 @@ smoosh = ['jsrust_shared/smoosh']
jsrust_shared = { path = "./shared" }
# Workaround for https://github.com/rust-lang/rust/issues/58393
mozglue-static = { path = "../../../mozglue/static/rust" }
wat = { version = "1.0.26" }
wat = { version = "1.0.27" }
wasmparser = { version = "0.48.2" }

File diff suppressed because one or more lines are too long

View File

@ -13,7 +13,7 @@
[package]
edition = "2018"
name = "wast"
version = "25.0.2"
version = "26.0.1"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
description = "Customizable Rust parsers for the WebAssembly Text formats WAT and WAST\n"
homepage = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wast"

View File

@ -993,6 +993,9 @@ instructions! {
F32x4ConvertI32x4S : [0xfd, 0xfa] : "f32x4.convert_i32x4_s",
F32x4ConvertI32x4U : [0xfd, 0xfb] : "f32x4.convert_i32x4_u",
V128Load32Zero(MemArg<4>) : [0xfd, 0xfc] : "v128.load32_zero",
V128Load64Zero(MemArg<8>) : [0xfd, 0xfd] : "v128.load64_zero",
// Exception handling proposal
Try(BlockType<'a>) : [0x06] : "try",
Catch : [0x07] : "catch",

View File

@ -45,7 +45,7 @@
//! [`Parse`]: parser::Parse
//! [`LexError`]: lexer::LexError
#![deny(missing_docs, intra_doc_link_resolution_failure)]
#![deny(missing_docs, broken_intra_doc_links)]
use std::fmt;
use std::path::{Path, PathBuf};

View File

@ -1 +1 @@
{"files":{"Cargo.toml":"e769911e25335b27f6dc0b5348a75bda7f08ff83959fc39be48f0947522af50c","README.md":"6653a386a2210f0f7e36964f15214bc441e2c723c42867dfe90dfcedcd301814","src/lib.rs":"03652351228b7f7a520f4e7f1e689fa34a37b8e5e0fc8367a167cc893cdbc449"},"package":"4766d466249e23279e92c52033429eb91141c5efea1c4478138fa6f6ef4efe3e"}
{"files":{"Cargo.toml":"4b973805b8ce9c658bd9ca10e76e512496d02c689054c5953eec3d091a7c9b13","README.md":"6653a386a2210f0f7e36964f15214bc441e2c723c42867dfe90dfcedcd301814","src/lib.rs":"03652351228b7f7a520f4e7f1e689fa34a37b8e5e0fc8367a167cc893cdbc449"},"package":"26b2dccbce4d0e14875091846e110a2369267b18ddd0d6423479b88dad914d71"}

View File

@ -13,7 +13,7 @@
[package]
edition = "2018"
name = "wat"
version = "1.0.26"
version = "1.0.27"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
description = "Rust parser for the WebAssembly Text format, WAT\n"
homepage = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wat"
@ -22,4 +22,4 @@ readme = "README.md"
license = "Apache-2.0 WITH LLVM-exception"
repository = "https://github.com/bytecodealliance/wasm-tools/tree/main/crates/wat"
[dependencies.wast]
version = "25.0.0"
version = "26.0.0"