zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
### Zig Version 0.11.0 and 0.12.0-dev.1814+5c0d58b71 ### Steps to Reproduce and Observed Behavior Here is a repository with reproduction steps and an error message: https://github.com/greenfork/isoc23. Here they are verbatim: ```...
This proposal is to add two license-related fields to `build.zig.zon`. Example: ```zig .licenses = .{ "MIT" }, ``` This field communicates that the current package has only files covered by...
A discussion with @Rhodiumtoad brought up how FPU rounding modes are handled with zig. e.g. what rounding mode state does zig expect the FPU to be in when an `extern`...
When using getdents64() (atleast on Linux), the d_type will be unknown if the filesystem doesn't support it. In this case a seperate stat call is necessary to determine the file...
### Zig Version 0.12.0-dev.1802+56deb5b05 ### Steps to Reproduce and Observed Behavior ```zig const std = @import("std"); const extensions = std.ComptimeStringMap(type, .{ .{ "bmp", struct { pub const foo = 1;...
I've been wrapping the `@shuffle` function a lot with the following generic in order to achieve something similar to swizzling syntax in shader languages: ```zig inline fn swiz(vec: anytype, mask:...
After updating the syscall list, I researched why `fchmodat2` was introduced. The `fchmodat` syscall doesn't take a `flags` argument, meaning this wrapper has been subtly broken since its introduction. This...
Closes #14310. Go test cases are copied to `lib/std/tar/testdata` folder. New functionality added to pass tests: - reading link_name from pax attribute - reading file size from pax attribute -...
Fixes #15241 Now, since you shouldn't trust me, someone from the team should probably redo the steps I took: 1. I removed all the source files from `lib/tsan` `lib/tsan/interception` `lib/tsan/sanitizer_common`...
### Zig Version 0.11.0 ### Steps to Reproduce and Observed Behavior `zig build run` this code (extracted from std.http.Client): ```zig const std = @import("std"); pub fn main() void { var...