Update wasm-tools crates (#6215)

While bringing in no major updates for Wasmtime I've taken this
opportunity to list myself for `cargo vet` with wildcard audits of this
family of crates. That means I shouldn't need to further add any more
entries in the future for updating these crates and additionally any
other organizations using these audits will automatically be able to
have audits for version that I publish.

While here I also ran `cargo vet prune` which was able to remove a
number of our exemptions.
This commit is contained in:
Alex Crichton
2023-04-14 19:07:32 -05:00
committed by GitHub
parent 9dd0b59c2a
commit 91de5de049
7 changed files with 179 additions and 49 deletions

View File

@@ -202,13 +202,10 @@ 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)
}
Ref(wasmparser::RefType {
nullable: true,
heap_type,
}) => environ.translate_ref_null(builder.cursor(), heap_type.try_into()?)?,
Ref(wasmparser::RefType {
nullable: false, ..
}) => unreachable!(),
Ref(t) => {
assert!(t.is_nullable());
environ.translate_ref_null(builder.cursor(), t.heap_type().try_into()?)?
}
};
let ty = builder.func.dfg.value_type(zeroval);

View File

@@ -317,7 +317,7 @@ pub fn parse_element_section<'data>(
}
};
environ.declare_table_elements(
TableIndex::from_u32(table_index),
TableIndex::from_u32(table_index.unwrap_or(0)),
base,
offset,
segments,