MCPcopy Create free account
hub / github.com/f0rr0/oliphaunt / wasm_memory_out

Function wasm_memory_out

xtask/src/main.rs:9687–9695  ·  view source on GitHub ↗
(memory: wasmparser::MemoryType)

Source from the content-addressed store, hash-verified

9685}
9686
9687fn wasm_memory_out(memory: wasmparser::MemoryType) -> WasmMemoryOut {
9688 WasmMemoryOut {
9689 initial_pages: memory.initial,
9690 maximum_pages: memory.maximum,
9691 memory64: memory.memory64,
9692 shared: memory.shared,
9693 page_size_log2: memory.page_size_log2,
9694 }
9695}
9696
9697fn host_target_triple() -> &'static str {
9698 #[cfg(all(target_os = "macos", target_arch = "aarch64"))]

Callers 1

read_wasm_link_metadataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected