Update wasm-tools crates (#5945)
This notably updates `wasmparser` for updates to the relaxed-simd proposal and an implementation of the function-references proposal. Additionally there are some minor bug fixes being picked up for WIT and the component model.
This commit is contained in:
@@ -202,9 +202,13 @@ fn declare_locals<FE: FuncEnvironment + ?Sized>(
|
||||
let constant_handle = builder.func.dfg.constants.insert([0; 16].to_vec().into());
|
||||
builder.ins().vconst(ir::types::I8X16, constant_handle)
|
||||
}
|
||||
ExternRef | FuncRef => {
|
||||
environ.translate_ref_null(builder.cursor(), wasm_type.try_into()?)?
|
||||
}
|
||||
Ref(wasmparser::RefType {
|
||||
nullable: true,
|
||||
heap_type,
|
||||
}) => environ.translate_ref_null(builder.cursor(), heap_type.try_into()?)?,
|
||||
Ref(wasmparser::RefType {
|
||||
nullable: false, ..
|
||||
}) => unreachable!(),
|
||||
};
|
||||
|
||||
let ty = builder.func.dfg.value_type(zeroval);
|
||||
|
||||
Reference in New Issue
Block a user