Thanks Alon, it worked! 
With regards to lazily loading the side_module I am thinking of using 
dlopen and before calling dlopen building a way to do synchronous XHR for 
the side_module wasm and putting it in the FS object. I will also have to 
make sure that I don't fetch the same side_module more than once (caching). 
Does there exist a way to do this in the toolchain itself or will I have to 
write my own fetching and caching logic?

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to