Skip to main content

Module wasm

Module wasm 

Source
Expand description

Wasm-specific helpers for various tests

Re-exportsยง

use wasmparser::Parser; ๐Ÿ”’
use wasmparser::Payload; ๐Ÿ”’
use crate::Rustc; ๐Ÿ”’
use crate::target; ๐Ÿ”’

Functionsยง

target_emits_components
Returns whether the current compilation target will emit a WebAssembly component.
wasm_binary_size
Returns the size, in bytes, of the wasm module in bytes.