ern0 / howto-wasm-minimal

How to create minimal wasm module with plain C/C++
MIT License
515 stars 22 forks source link

Is -nostdlib required? #5

Open 0mlml opened 5 months ago

0mlml commented 5 months ago

Hello, when compiling this project I noticed that there is no difference in the size of the generated .wasm file even if the -nostdlib flag is removed from build.sh. inc.wasm is 2894 bytes on my machine regardless. Could I get clarification on why it is included in the build script?