Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bytecodealliance/wasmtime
/ SetFlagOnDrop
Class
SetFlagOnDrop
tests/all/gc.rs:10–10 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
8
use wasmtime::*;
9
10
struct SetFlagOnDrop(Arc<AtomicBool>);
11
12
impl Drop for SetFlagOnDrop {
13
fn drop(&mut self) {
Callers
15
smoke_test_gc_impl
Function · 0.70
drop_externref_via_table_set
Function · 0.70
test_engine
Function · 0.70
global_init_no_leak
Function · 0.70
no_leak_with_global_get_elem_segment
Function · 0.70
table_init_with_externref_global_get
Function · 0.70
rooted_gets_collected_after_scope_exit
Function · 0.70
owned_rooted_gets_collected_after_unrooting
Function · 0.70
to_raw_from_raw_doesnt_leak
Function · 0.70
table_fill_doesnt_leak
Function · 0.70
table_copy_doesnt_leak
Function · 0.70
table_set_doesnt_leak
Function · 0.70
Calls
no outgoing calls
Tested by
7
test_engine
Function · 0.56
rooted_gets_collected_after_scope_exit
Function · 0.56
owned_rooted_gets_collected_after_unrooting
Function · 0.56
to_raw_from_raw_doesnt_leak
Function · 0.56
table_fill_doesnt_leak
Function · 0.56
drc_gc_inbetween_host_calls
Function · 0.56
owned_rooted
Function · 0.56