wasm-micro-runtime
wasm-micro-runtime copied to clipboard
Export Global Implementation for AoT Module Instances
trafficstars
The WASM interpreted module structures have interfaces for exported globals, but it seems like AoT structures only implement exported functions. Is this a feature on the radar for future releases?
Thanks!
Hi, currently in AOT module structure there are global exports, but the related global export instances in AOT module instance are not created yet. Yes, we may create them in the future, are there any requirements for this? As most of the globals are created from the compiler but not from the source code's global variables, normally they are used by runtime and developer doesn't care about them.