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

**Edit: Please see comment # 2 for a shorter code version.** ### Zig Version 0.11.0-dev.3395+1e7dcaa3a ### Steps to Reproduce and Observed Behavior I'm currently trying to port an interpreter from...

bug

* Before, std.Target.Cpu.Arch.toCoffMachine was not used anywhere. Instead, std.coff.fromTargetCpuArch was used. After this commit this is still the case but toCoffMachine is removed and merged into std.coff.fromTargetCpuArch, making it more...

``` zig const std = @import("std"); const expect = std.testing.expect; const Node = struct { next: *Node, }; const a: Node = .{ .next = &b }; const b: Node...

bug
enhancement
stage2

### Zig Version 0.11.0-dev.3395+1e7dcaa3a ### Steps to Reproduce and Observed Behavior 1) Write to `demo.zig`: ``` pub fn main() void { var slice: []u8 = undefined; @memset(slice.ptr, 0); } ```...

bug

Run Step already has `extra_file_dependencies` for file inputs that are known ahead of time: ```zig /// Additional file paths relative to build.zig that, when modified, indicate /// that the Run...

enhancement
contributor friendly
zig build system

**Note: all new names in this proposal are very open to bikeshedding, I simply came up with them because I needed names.** ## Problem Since it's cached, ZIR is arbitrarily...

Closes #15874 At first I tried to block this kind of coercion for all types, but I ran into a case where the compiler coerces `[][:0]u8` to `[][:0]const u8` which...

### Zig Version 0.11.0-dev.3395+1e7dcaa3a ### Steps to Reproduce and Observed Behavior A minimal example: ```zig // vec.zig const std = @import("std"); const vec = @cImport(@cInclude("./vec.c")); pub fn main() void {...

bug