(exports)
| 1206 | |
| 1207 | // module for lib is loaded - update the dso & global namespace |
| 1208 | function moduleLoaded(exports) { |
| 1209 | if (dso.global) { |
| 1210 | mergeLibSymbols(exports, libName); |
| 1211 | } else if (localScope) { |
| 1212 | Object.assign(localScope, exports); |
| 1213 | #if DYNCALLS || !WASM_BIGINT |
| 1214 | registerDynCallSymbols(exports); |
| 1215 | #endif |
| 1216 | } |
| 1217 | dso.exports = exports; |
| 1218 | } |
| 1219 | |
| 1220 | if (flags.loadAsync) { |
| 1221 | #if DYLINK_DEBUG |