MCPcopy Create free account
hub / github.com/bytecodealliance/wasmtime / to_wasm_binary

Method to_wasm_binary

crates/fuzzing/src/generators/exception_ops.rs:123–126  ·  view source on GitHub ↗

Encode as a Wasm module.

(&mut self)

Source from the content-addressed store, hash-verified

121impl ExceptionOps {
122 /// Encode as a Wasm module.
123 pub fn to_wasm_binary(&mut self) -> Vec<u8> {
124 self.fixup();
125 self.encode()
126 }
127
128 /// Fix up the test case to ensure all indices and structures are valid.
129 pub fn fixup(&mut self) {

Callers 1

Calls 2

fixupMethod · 0.45
encodeMethod · 0.45

Tested by 1