bytecodealliance / componentize-py

Apache License 2.0
158 stars 19 forks source link

call host directly to get runtime env vars #14

Closed dicej closed 1 year ago

dicej commented 1 year ago

The old trick of calling __wasm_call_ctors to force libc to re-initialize its state won't work anymore since the runtime is a shared library which has its own __wasm_call_ctors (which does nothing), and there's no way to tell wit-component we want to call libc's version instead.