How Link External C Library to WebAssembly Build
问题 I was reading this article (https://www.smashingmagazine.com/2019/04/webassembly-speed-web-app/) that explained how they used zlib, among other things, to speed up their web project: To support the zlib library, we use the flag USE_ZLIB; zlib is so common that it’s already been ported to WebAssembly, and Emscripten will include it for us in our project I would like to use zlib in my own WASM module. In my C code (compiled with emcc), I wrote this interfacing function: #include <zlib.h> int