Skip to content

v0.2.5

Choose a tag to compare

@codetalcott codetalcott released this 10 Mar 22:43
· 360 commits to main since this release

Fix init_async_runtime() on Linux: explicitly open Mojo runtime library.

On Linux, Node.js loads .node addons with dlopen(RTLD_LOCAL), so
dlsym(RTLD_DEFAULT) couldn't find KGEN_CompilerRT_AsyncRT_CreateRuntime.
Now explicitly opens libKGENCompilerRTShared by name, resolved via the
RUNPATH that mojo build embeds in the shared library.