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

Method write_preamble

cranelift/codegen/src/write.rs:37–39  ·  view source on GitHub ↗

Write the preamble to `w`. By default, this uses `write_entity_definition`.

(&mut self, w: &mut dyn Write, func: &Function)

Source from the content-addressed store, hash-verified

35
36 /// Write the preamble to `w`. By default, this uses `write_entity_definition`.
37 fn write_preamble(&mut self, w: &mut dyn Write, func: &Function) -> Result<bool, fmt::Error> {
38 self.super_preamble(w, func)
39 }
40
41 /// Default impl of `write_preamble`
42 fn super_preamble(&mut self, w: &mut dyn Write, func: &Function) -> Result<bool, fmt::Error> {

Callers 1

decorate_functionFunction · 0.80

Implementers 2

write.rscranelift/codegen/src/write.rs
print_errors.rscranelift/codegen/src/print_errors.rs

Calls 1

super_preambleMethod · 0.80

Tested by

no test coverage detected