zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
occured -> occurred
This PR as the TODOs in the code state replaces the fields param_names and anytype_args with functions which fetch the data from elsewhere.
My system libc version is `2.30` but zig detects and builds `2.17` which causes linking errors with `expat` for example: ```zig const std = @import("std"); const c = @cImport({ @cInclude("expat.h");...
`ttyconf.setColor(stderr, .Dim)` just like `stderr.print("{s}", .{plain.msg})` can fail, so I don't see why we wouldn't handle the former just like the latter. It's an edge case. You can always still...
I really had a lot of attempts at this and I think this might be the best one so far. I think there's still some things to improve but this...
## Before  The "Compile Log Output" currently looks very plain and unconnected to the pretty messages before it with all the colors and stuff. The purpose of this PR...
### Zig Version 0.10.0-dev.3341+624633d7e ### Steps to Reproduce ```bash $ cat main.zig const std = @import("std"); const ShouldFailEnum = enum(u2) { Zero, One, Two, Three, Four, // should be failed...
### Zig Version 0.10.0-dev.3383+3cf8f283d ### Steps to Reproduce compile and run this program: ```zig const std = @import("std"); const PackedIntArray = std.PackedIntArray; pub fn main() !void { const allocator =...
The usual batch of Air lowerings and other sparc64 backend-related changes. Didn't manage to do much this time but at least I managed to cut out a lot of `airBinOp`-related...