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

Method required_alignment

tests/all/custom_code_memory.rs:10–12  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

8 struct CustomCodePublish;
9 impl CustomCodeMemory for CustomCodePublish {
10 fn required_alignment(&self) -> usize {
11 page_size()
12 }
13
14 fn publish_executable(&self, ptr: *const u8, len: usize) -> wasmtime::Result<()> {
15 unsafe {

Callers 2

custom_alignmentMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected