-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Labels
kind:featureA request, idea or new functionalityA request, idea or new functionalitytopic:interfaceRelated to safe abstractions over the primitivesRelated to safe abstractions over the primitivestopic:macroRelated to macrosRelated to macros
Description
Currently if you try to pass a reference and set it to the ctx.globals(), it needs to be static.
But in theory as long as it outlives the Runtime object it should be safe.
Unsure if @DelSkayn or @richarddd you had tried that in the past and didn't manage to make it work.
It might be a rust limitation with the for<'js>.
Metadata
Metadata
Assignees
Labels
kind:featureA request, idea or new functionalityA request, idea or new functionalitytopic:interfaceRelated to safe abstractions over the primitivesRelated to safe abstractions over the primitivestopic:macroRelated to macrosRelated to macros