https://developer.mozilla.org/en-US/docs/WebAssembly/C_to_wasm
https://leaningtech.com/cheerp/
https://jakstys.lt/2022/how-uber-uses-zig/
https://web.dev/emscripting-a-c-library/
zig cc -target wasm32-freestanding --shared -o test.wasm test.c
but like no
emcc d3des.c -s EXPORTED_FUNCTIONS=_deskey,_des
https://github.com/charto/nbind
zig cc -target wasm32-freestanding –shared -o test.wasm test.c -Wl,–export=a,–export=b,–export=c && node bootstrap.js
Thanks Luuk
zig cc -target wasm32-freestanding –shared -o d3des.wasm d3des.c -Wl,–export=deskey,–export=des