MCPcopy Create free account
hub / github.com/bytecodealliance/wit-bindgen / context_set

Function context_set

crates/guest-rust/src/rt/async_support.rs:669–679  ·  view source on GitHub ↗
(value: *mut u8)

Source from the content-addressed store, hash-verified

667}
668
669unsafe fn context_set(value: *mut u8) {
670 extern_wasm! {
671 #[link(wasm_import_module = "$root")]
672 unsafe extern "C" {
673 #[link_name = "[context-set-0]"]
674 fn set(value: *mut u8);
675 }
676 }
677
678 unsafe { set(value) }
679}
680
681#[doc(hidden)]
682pub struct TaskCancelOnDrop {

Callers 2

start_taskFunction · 0.85
callbackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected