Bug 1645160 - Update wat to 1.0.20. r=lth

Differential Revision: https://phabricator.services.mozilla.com/D80190
This commit is contained in:
Ryan Hunt 2020-06-22 04:30:09 +00:00
Родитель 4e02110dbc
Коммит 54aee7836c
8 изменённых файлов: 12 добавлений и 12 удалений

8
Cargo.lock сгенерированный
Просмотреть файл

@ -5344,18 +5344,18 @@ checksum = "32fddd575d477c6e9702484139cf9f23dcd554b06d185ed0f56c857dd3a47aa6"
[[package]]
name = "wast"
version = "18.0.0"
version = "20.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "01b1f23531740a81f9300bd2febd397a95c76bfa4aa4bfaf4ca8b1ee3438f337"
checksum = "5fb95ce157a8c779ec301ef3e4c0a7caeb6f9f902f813f1f5f7e464367048924"
dependencies = [
"leb128",
]
[[package]]
name = "wat"
version = "1.0.19"
version = "1.0.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4006d418d59293172aebfeeadb7673459dc151874a79135946ea7996b6a98515"
checksum = "9afa9815ddfb592fb97bb2b817a514c6995e5c171b05037b91d0d831f3a2a9c0"
dependencies = [
"wast",
]

Просмотреть файл

@ -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.19" }
wat = { version = "1.0.20" }
wasmparser = { version = "0.48.2" }

2
third_party/rust/wast/.cargo-checksum.json поставляемый

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

2
third_party/rust/wast/Cargo.toml поставляемый
Просмотреть файл

@ -13,7 +13,7 @@
[package]
edition = "2018"
name = "wast"
version = "18.0.0"
version = "20.0.0"
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/master/crates/wast"

2
third_party/rust/wast/src/ast/expr.rs поставляемый
Просмотреть файл

@ -412,7 +412,7 @@ instructions! {
TableGrow(TableArg<'a>) : [0xfc, 0x0f] : "table.grow",
RefNull(RefType<'a>) : [0xd0] : "ref.null",
RefIsNull(RefType<'a>) : [0xd1] : "ref.is_null",
RefIsNull : [0xd1] : "ref.is_null",
RefExtern(u32) : [0xff] : "ref.extern", // only used in test harness
RefFunc(ast::Index<'a>) : [0xd2] : "ref.func",

2
third_party/rust/wast/src/resolve/names.rs поставляемый
Просмотреть файл

@ -563,7 +563,7 @@ impl<'a, 'b> ExprResolver<'a, 'b> {
self.resolver.resolve_valtype(&mut s.to)
}
RefNull(ty) | RefIsNull(ty) => self.resolver.resolve_reftype(ty),
RefNull(ty) => self.resolver.resolve_reftype(ty),
_ => Ok(()),
}

2
third_party/rust/wat/.cargo-checksum.json поставляемый
Просмотреть файл

@ -1 +1 @@
{"files":{"Cargo.toml":"ecc2f59925a104c6a8fc300c6d6a326a2ff0519842657aaeff24481e6ae341f7","README.md":"6653a386a2210f0f7e36964f15214bc441e2c723c42867dfe90dfcedcd301814","src/lib.rs":"03652351228b7f7a520f4e7f1e689fa34a37b8e5e0fc8367a167cc893cdbc449"},"package":"4006d418d59293172aebfeeadb7673459dc151874a79135946ea7996b6a98515"}
{"files":{"Cargo.toml":"c9a2c105b0e6b881aeac684beb9f5dd4ede58e5122026a2d57fb79fc536196dc","README.md":"6653a386a2210f0f7e36964f15214bc441e2c723c42867dfe90dfcedcd301814","src/lib.rs":"03652351228b7f7a520f4e7f1e689fa34a37b8e5e0fc8367a167cc893cdbc449"},"package":"9afa9815ddfb592fb97bb2b817a514c6995e5c171b05037b91d0d831f3a2a9c0"}

4
third_party/rust/wat/Cargo.toml поставляемый
Просмотреть файл

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