Veikka Tuominen
Veikka Tuominen
On master this hits a translate-c bug: ```c int foo(void) { int tmp; int bar; if (bar = tmp == 0) return 1; } ``` ```zig pub export fn foo()...
This safety check was removed in 5c9826630dfb8a2f59663a569bb8e452359c9524
Is this macOS specific? I'm unable to reproduce on Linux.
Reduction: ```zig test { var a = true; inline for ("ab") |_| { inline for ("cd") |_| { if (a) break; } } } ```
Duplicate/related #10612
The CI failure should be fixed by running `tools/update_glibc.zig`.
> ``` > //! This script updates the .c, .h, .s, and .S files that make up the start > //! files such as crt1.o. Not to be confused with...
> hmm new error is so weird. `addIncludePath("test")` is there and `zig(2|3) translate-c test/behavior/translate_c_macros.h` successed The issue was that it was looking for the wrong include directory which can be...
Related #12376
These concerns were brought up when this coercion was initially implemented and if only allowing `&.{}` gets rid of them then we should go with that since `&.{}` is the...