I was trying to build and run a WASM/pthread build, however at run time it 
threw the error: "LinkError: WebAssembly Instantiation: Import #34 
module="env" function="_nanosleep" error: function import requires a 
callable".

I was unable to reproduce this on a smaller scale, however it seems to be 
that WebAssembly is for some reason trying to link to a javascript 
"_nanosleep" function that is not provided by "Module.asmLibraryArg".

When I attempted to reproduce it, the "_nanosleep" function was still not 
provided but WebAssemby never complained. I'm guessing that's because it 
never is requested (even though I was using it), so I am unsure what causes 
it to be requested in one case but not in  another.

If there's is any more information required or anything else you want me to 
test, let me know. I will continue looking into this to see if I can find 
more information.

Thanks in advance,
Joshua Minter

-- 
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