#C11 in build.zig
1 messages · Page 1 of 1 (latest)
Found an answer in the embedded channel on this group. Use flags in exe.addCSourceFiles(). Not as elegant as I would like, but it appears to work.
maybe obj.c_std = .C11; ?
exe.c_std = .C11 does not appear to work with Zig 0.9.1 on Windows. exe.setVerboseCC(true); shows no effect for .C89, .C99 or .C11. It would have been a neater solution.