Skip to main content

set_stack_map_registry

Function set_stack_map_registry 

Source
pub fn set_stack_map_registry(registry: &StackMapRegistry)
Expand description

Set the stack map registry for the current thread.

ยงSafety

The registry must outlive any JIT code execution that might trigger GC, and should be cleared (via clear_stack_map_registry) before the registry is dropped.