Quoting Yadd (2021-10-19 17:06:09)
> 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?

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

emcc is part of emscripten:

$ apt-file search bin/emcc
emscripten: /usr/bin/emcc


> I tried emcc but the upstream command seems not compatible.

Which exact command did you try, did you try with Debian-packaged 
emscripten or something else, and what was the error message?


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

Most likely WASM was used for a speed boost somewhere.


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

-- 
Pkg-javascript-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-javascript-devel

Reply via email to