3 ms·
What do you mean? I've used zig on both linux and windows and never had line ending issues.
by biryani_chicken 6y ago
What do you mean? I've used zig on both linux and windows and never had line ending issues.
- adenozine 6y ago``` .\zig.exe build-exe .\hello.zig .\hello.zig:1:28: error: invalid carriage return, only '\n' line endings are supported ``` I just re-downloaded the 0.6 branch, and I get this error on latest Windows. It's just one click in VS Code, but then I have to think about this every time I go between different files I might be working on. It's NUTS to me that the compiler doesn't just regex them out or something, I can't justify using a technology that won't take even the smallest step for UX. Imagine if you needed to set some character set or line-ending to bang out a python script, that'd be crazy, right? So, why should anybody bother doing it for Zig? I want to like Zig, but I'm just not motivated to with an experience like this. I've been doing Python for a while, and I got my eyes on Nim for the next generation of languages.