Hacker News new | ask | show | jobs
by david2ndaccount 1528 days ago
I do a similar thing for my side project. Note that the clang that comes with Xcode (Apple clang) doesn’t have wasm support.
1 comments

Thanks for warning! Anyway, I just got a new Mac, but I started with installing brew and then install CLANG comes with brew.

I have had more headache with my not-too-but-old-enough Linux systems, 2 of 2 failed: one got stuck when linking (yes, the linker hangs!), another one produced perfect size .wasm output, with... wait for it... full of zero bytes. Full story here: https://stackoverflow.com/questions/71573019/cant-compile-to...