wasm-micro-runtime icon indicating copy to clipboard operation
wasm-micro-runtime copied to clipboard

Export Global Implementation for AoT Module Instances

Open arjunr2 opened this issue 3 years ago • 1 comments
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!

arjunr2 avatar Mar 31 '22 16:03 arjunr2

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.

wenyongh avatar Apr 02 '22 08:04 wenyongh