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

Method new

crates/fiber/src/windows.rs:18–23  ·  view source on GitHub ↗
(size: usize, zeroed: bool)

Source from the content-addressed store, hash-verified

16
17impl FiberStack {
18 pub fn new(size: usize, zeroed: bool) -> io::Result<Self> {
19 // We don't support fiber stack zeroing on windows.
20 let _ = zeroed;
21
22 Ok(Self(size))
23 }
24
25 pub unsafe fn from_raw_parts(
26 _base: *mut u8,

Callers

nothing calls this directly

Calls 6

OkFunction · 0.85
is_nullMethod · 0.80
newFunction · 0.50
dropFunction · 0.50
castMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected