emnapi 0.43.0 → 0.43.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "emnapi",
3
- "version": "0.43.0",
3
+ "version": "0.43.1",
4
4
  "description": "Node-API implementation for Emscripten",
5
5
  "main": "index.js",
6
6
  "peerDependencies": {
@@ -20,6 +20,7 @@ struct worker_args {
20
20
 
21
21
  extern void __wasm_init_tls(void*);
22
22
 
23
+ __attribute__((__weak__))
23
24
  void* __copy_tls(unsigned char *mem) {
24
25
  size_t tls_align = __builtin_wasm_tls_align();
25
26
  volatile void* tls_base = __builtin_wasm_tls_base();