File tree Expand file tree Collapse file tree
crates/wasmtime/src/runtime Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ impl Global {
276276 }
277277 Val :: ContRef ( None ) => {
278278 // Allow null continuation references for globals - these are just placeholders
279- // Non-null references are not supported yet
279+ definition . write_gc_ref ( & mut store , None ) ;
280280 }
281281 Val :: ContRef ( Some ( _) ) => {
282282 // TODO(#10248): Implement non-null global continuation reference handling
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ pub fn generate_global_export(
7272 }
7373 Val :: ContRef ( None ) => {
7474 // Allow null continuation references for trampoline globals - these are just placeholders
75- // Non-null references are not supported yet
75+ global . write_gc_ref ( & mut store , None ) ;
7676 }
7777 Val :: ContRef ( Some ( _) ) => {
7878 // TODO(#10248): Implement non-null trampoline continuation reference handling
You can’t perform that action at this time.
0 commit comments