mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-24 02:01:35 +00:00
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:
@ -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" }
|
||||
|
@ -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")
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user