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.3262+df909da5d ### Steps to Reproduce and Observed Behavior (Steps taken from https://github.com/getty-zig/getty#quick-start) 1. `zig init-exe` 2. Replace build.zig with ```zig const std = @import("std"); pub fn build(b:...

bug
zig build system
regression

### Zig Version 0.10.0-dev.1107+7deadf430 ### Steps to Reproduce `src/main.zig`: ```zig const c = @cImport({ @cInclude("X11/Xlib.h"); }); pub fn main() void { _ = c.XFree(null); } ``` `build.zig`: ``` const std...

bug
os-linux
os-macos
zig build system

### Zig Version 0.10.0-dev.3885+a7661f115d ### Steps to Reproduce `test.zig` ```zig const std = @import("std"); const testing = std.testing; test { const S = struct { key: u32, value: void };...

bug
frontend
backend-llvm

### Zig Version 0.12.0-dev.3405+31791ae15 ### Steps to Reproduce and Observed Behavior ``` $ valgrind stage4/bin/zig test ../test/behavior.zig -fno-llvm -fno-lld ==1663319== Thread 1: ==1663319== Syscall param pwritev(vector[0]) points to uninitialised byte(s)...

bug
miscompilation
linking

Implements `@depositBits` and `@extractBits`, corresponding to `pdep` and `pext` from BMI2. The builtins are supported in the LLVM backend for any integer width, are supported in the x86 backend for...

### Zig Version 0.12.0-dev.3405+31791ae15 ### Steps to Reproduce and Observed Behavior ```zig fn littleToNativeEndian(comptime T: type, v: T) T { return if (endian == .little) v else @byteSwap(v); } test...

bug
frontend
miscompilation

### Zig Version 0.12.0-dev.3405+31791ae15 ### Steps to Reproduce and Observed Behavior ```zig test "comptime bitcast with fields following f80" { const FloatT = extern struct { f: f80, x: u128...

bug
frontend
miscompilation

Fixes #16331 and makes it possible to use Zig correctly on Apple M1 with Asahi. This PR implements the `std.mem.getPageSize()` function. It also changes how `std.mem.page_size` fundamentally works. Before, we...

Blockers: - Need RSA signature signing (#19776). Key generation would be convenient for testing and users. - Strongly prefer DER parser upgrade for parsing more Certificate fields (#19976). Bugfixes: -...

Right now for example `fs.File.writev` looks like this: ```zig pub fn writev(self: File, iovecs: []const os.iovec_const) WriteError!usize { ``` The reasoning here is that we would need to heap allocate...

enhancement
standard library