[Pkg-javascript-devel] wasm help needed

Yadd yadd at debian.org
Tue Oct 19 16:06:09 BST 2021


Le 19/10/2021 à 18:39, Jonas Smedegaard a écrit :
> Quoting Yadd (2021-10-19 16:13:41)
>> I uploaded webpack version 5, however it is based on es-module-lexer
>> which requires to build a WASM and some other binary files (#996836).
>> Could someone help me here ?
> 
> Which toolchain is used? Emscripten or something else or more convoluted?
> 
>  - Jonas

Looking at Makefile, needed commands are :
 * ../wasi-sdk-12.0/bin/clang
 * emcc

I tried emcc but the upstream command seems not compatible. For now I
found a workaround: es-module-lexer can be disabled.
I'm cleaning some other non-DFSG files in webpack before pushing it to
experimental.
Note: I tested it on workerpool, it seems to work even without lexer.

Cheers,
Yadd



More information about the Pkg-javascript-devel mailing list