bytecodealliance / componentize-py

Apache License 2.0
136 stars 13 forks source link

call host directly to get runtime env vars #14

Closed dicej closed 12 months ago

dicej commented 12 months 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.