zig icon indicating copy to clipboard operation
zig copied to clipboard

General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

Results 2216 zig issues
Sort by recently updated
recently updated
newest added

### Zig Version 0.11.0-dev.1970+962299157 ### Steps to Reproduce and Observed Behavior Apply this diff: ```diff --- a/test/tests.zig +++ b/test/tests.zig @@ -1370,11 +1370,9 @@ pub fn addCAbiTests(b: *std.Build, skip_non_native: bool, skip_release:...

bug
miscompilation

https://github.com/ziglang/zig/blob/962299157840979ba659d478785f5ed0759d5401/lib/std/os/linux/io_uring.zig#L2027 https://github.com/ziglang/zig/blob/962299157840979ba659d478785f5ed0759d5401/lib/std/os/linux/io_uring.zig#L2519 https://github.com/ziglang/zig/blob/962299157840979ba659d478785f5ed0759d5401/lib/std/os/linux/io_uring.zig#L3239 You can't just grab some arbitrary port and start using it in unit tests. That port could be used by the system causing the unit tests to...

bug
contributor friendly
standard library

### Zig Version 0.11.0-dev.1913+95f6a5935 ### Steps to Reproduce and Observed Behavior I discovered this while investigating a compile error when trying to include `linmath.h` discovered by abcode89 on the zig...

bug

### Zig Version 0.11.0-dev.1969+d525ecb52 ### Steps to Reproduce and Observed Behavior ```zig const std = @import("std"); const expect = std.testing.expect; pub fn main() !void { var buf: [9]u8 align(4) =...

bug
stage2
miscompilation
backend-llvm
regression

Inspired by https://github.com/ziglang/zig/pull/5734#discussion_r446585745 The goal of the `std.log` API is to allow developers to leave log statements in finished code, without causing any performance issues or unwanted stderr/stdout for API...

contributor friendly
standard library
proposal
accepted

Currently std.http.Client assumes that the Location header is a well formed URI. However that is not actually how it should be parsed according to the spec. https://www.rfc-editor.org/rfc/rfc9110.html#section-10.2.2 Location is a...

bug
enhancement
standard library

### Zig Version 0.11.0-dev.1929+4ea2f441d ### Steps to Reproduce and Observed Behavior The following code causes infinite recursion in the Zig compiler which causes it to run out of stack space...

bug

### Zig Version 0.11.0-dev.1812+26196be34 ### Steps to Reproduce and Observed Behavior I've been hacking on an ARMv4t emulator in Zig. While defining the registers of that arch, i found that...

bug

### Zig Version 0.11.0-dev.1977+db450bcad ### Steps to Reproduce and Observed Behavior Example link invocation when building zig: ``` lld-link -ERRORLIMIT:0 -NOLOGO -DEBUG -PDB:\o\fa3f0a308c6878f003bddb65e7295e69\zig.pdb -PDBALTPATH:\o\fa3f0a308c6878f003bddb65e7295e69\zig.pdb -STACK:33554432 -MACHINE:X64 -INCLUDE:_tls_index -OUT:\o\fa3f0a308c6878f003bddb65e7295e69\zig.exe -IMPLIB:\o\fa3f0a308c6878f003bddb65e7295e69\zig.lib \o\fa3f0a308c6878f003bddb65e7295e69\zig.exe.obj...

bug
os-windows
linking

### Zig Version 0.11.0-dev.1969+d525ecb52 ### Steps to Reproduce and Observed Behavior ```zig const std = @import("std"); const ExampleStruct = struct { method: fn () void, }; fn method_impl() void {...

error message