zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
### Zig Version latest-from-master ### Steps to Reproduce and Observed Behavior I want to play around `zig` on `FreeBSD (FreeBSD my-bsd 14.0-CURRENT FreeBSD 14.0-CURRENT #0: Sun Jan 8 12:56:00 NZDT...
Dear maintainers, We still observe some very-hard-to-reproduce races when building libc/rt prerequisites. Some anecdotal evidence: ### `error: FileNotFound` When executed on a fresh installation, `zig build-exe toolchain/launcher.zig` ([exact command][build-exe]) sometimes...
Extracted from test/compile_errors.zig. I am filing this issue because I am deleting these from the branch I am working on (#14647). ```zig { const case = ctx.obj("wrong same named struct",...
`zig build` should be able to fetch from a relative path such as: ```zig .url = "../myproject/", ```` or a file URI like: ```zig .url = "file:///C:/Code/myproject/" ``` I think...
### Zig Version 0.11.0-dev.1907+ecc0108ce ### Steps to Reproduce and Observed Behavior Create an `EnumMap` with an empty struct as value at comptime. Still at comptime, calling certain functions will cause...
Adds support for parsing and stringifying between JSON arrays (which can contain multiple types) and Zig tuples. This is my first PR to Zig itself, so any and all feedback...
In order to fix #13280 I decided to simply remove line number from the shell output; personally I think they are not necessary. In future I plan a refactoring as...
This function is unused, it doesn't provide much over a direct call to `NtQueryInformationFile`, and the current implementation contains a few footguns: - The current wrapper treats all possible errors...
- Fixes the first few code units of the name being omitted (it was using `@sizeOf(FILE_NAME_INFO)` as the start of the name bytes, but that includes the length of the...