haze / zig-libressl

LibreSSL stream wrappers for Zig
BSD 2-Clause "Simplified" License
28 stars 1 forks source link

Cannot import `build.zig` on Windows #4

Open zenith391 opened 1 year ago

zenith391 commented 1 year ago

It looks like you can't import build.zig when building on Windows. It's maybe some file encoding issue going on because the error messages are really weird.

D:\a\capy\capy\vendor\zelda\zig-libressl\libressl\build.zig:449:26: error: expected ';' after declaration
        \\char {s}(void);
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
D:\a\capy\capy\vendor\zelda\zig-libressl\libressl\build.zig:450:34: note: invalid byte: 'a'
        \\int main(int ac, char* av[]) {{
                                 ^
haze commented 1 year ago

Can you still reproduce this on zig HEAD?