Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I suspect the pitfall is how you or the zig compiler is linking. Unless you're involving things which vary by OS like hardware interaction, networking, file systems etc, you should not, with a new Lang in 2026, need to do anything special for cross-platform capabilities.
 help



My understanding that "linkSystemLibrary" abstraction in build.zig only holds for Unix systems. And this in turn makes it impossible to build my program on Windows without modifying the build script.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: