You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since add_extern_module takes a function pointer, it's impossible to reference non-static data in a module. Is there a way to do this that doesn't require messing around with global variables? I was looking for a way to simply attach some data to the vm, but I don't think that's possible at the moment.
The text was updated successfully, but these errors were encountered:
Marwes
added a commit
to Marwes/gluon
that referenced
this issue
Sep 22, 2018
Tweaked the module loading so that it allows a Box<FnMut ...>. Since it's backwards compatible I will pull it into 0.9.1 after I have gone through a few more fixes.
Since
add_extern_module
takes a function pointer, it's impossible to reference non-static data in a module. Is there a way to do this that doesn't require messing around with global variables? I was looking for a way to simply attach some data to the vm, but I don't think that's possible at the moment.The text was updated successfully, but these errors were encountered: