Hi,
Is it possible to link a dynamic library to a wasm module?
@Almog Baku Do you mean with the dynamic library also being a wasm module or using a native dynamic library from a wasm module?
I'm trying to achieve something like this https://github.com/pyodide/pyodide/blob/main/src/js/load-package.ts#L302
and trying to load these dynamic libs so the python will be able to use them
Wasm dylibs requires toolchain support. Emscripten supports it, but is only suitable for the web. Without using emscripten neither clang nor rustc support wasm dylibs.
hmm... what's the alternative?
Static linking?
Last updated: Dec 23 2024 at 13:07 UTC