Mass rename anyref to externref (#2142)

Updates a mess of dependencies and tracks the most recent version of the
reference types specification.
This commit is contained in:
Alex Crichton
2020-05-18 09:36:30 -05:00
committed by GitHub
parent 61e8fc0d38
commit 996e92f3ae
65 changed files with 604 additions and 596 deletions

View File

@ -13,5 +13,5 @@ edition = "2018"
[dependencies]
anyhow = "1.0"
walrus = "0.16.0"
walrus = "0.17.0"
wasm-bindgen-wasm-conventions = { path = "../wasm-conventions", version = "=0.2.62" }

View File

@ -401,7 +401,7 @@ fn inject_start(
match segment.offset {
InitExpr::Global(id) => body.global_get(id),
InitExpr::Value(v) => body.const_(v),
InitExpr::RefNull | InitExpr::RefFunc(_) => {
InitExpr::RefNull(_) | InitExpr::RefFunc(_) => {
panic!("not a valid i32 initializer")
}
};