Struct wasm_gc::Config
[−]
[src]
pub struct Config { /* fields omitted */ }
Methods
impl Config
[src]
pub fn new() -> Config
[src]
Creates a blank slate of configuration, ready to gc wasm files.
pub fn demangle(&mut self, demangle: bool) -> &mut Self
[src]
Configures whether or not this will demangle symbols as part of the gc pass.
pub fn gc(&mut self, bytecode: &[u8]) -> Result<Vec<u8>, Error>
[src]
Runs gc passes over the wasm input module input
, returning the
serialized output.