MCPcopy Create free account
hub / github.com/arcjet/gravity / include_wasm

Method include_wasm

cmd/gravity/src/codegen/bindings.rs:48–50  ·  view source on GitHub ↗

Adds the given Wasm to the bindings.

(&mut self, wasm: WasmData)

Source from the content-addressed store, hash-verified

46
47 /// Adds the given Wasm to the bindings.
48 pub fn include_wasm(&mut self, wasm: WasmData) {
49 Wasm::new(&self.raw_wasm_var, wasm).format_into(&mut self.out)
50 }
51
52 /// Generate the bindings.
53 ///

Callers 1

mainFunction · 0.80

Calls 1

format_intoMethod · 0.45

Tested by

no test coverage detected