Hacker News new | ask | show | jobs
by speps 18 days ago
Stop the misinformation, it’s just changing where it’s being done moving from the language to the build system itself: https://ziggit.dev/t/cimport-going-away/5132

It’s also decoupling Zig compiler and C compiler so they’re updated independently.

It’s still a bummer in my view as I just replaced my build pipelines with just a Zig compiler instead of emscripten but that’s fine.

2 comments

`@cImport` gets moved from the "mainline" language into a separate module -> this example won't compile on future versions of Zig, that's the point
> Stop the misinformation

This was an unnecessary prelude to an otherwise helpful comment.