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

Is there ever a case where the following code is not a mistake by the developer writing the code? ```zig const A = struct { b: u32, }; pub fn...

It could be very useful to have something like: ```zig // Strictly Gregorian const DateTime = struct { sec: u6, // [0, 60] min: u6, // [0, 59] hour: u5,...

standard library
proposal

Updated Utf8View example to format the single codepoint UTF-8 slice with {s}

this option is available to `zig build` when you want to run a build in a file other than `build.zig`. it should be available to consumers of packages as well.

### Zig Version 0.11.0 ### Steps to Reproduce and Observed Behavior Depend on something like GTK: `step.linkSystemLibrary("gtk4")`. On Xubuntu, gtk4 from apt is installed in `/usr/lib/aarch64-linux-gnu`. I've noticed this on...

bug
contributor friendly

Adds `replaceRangeAssumeCapacity` method. This feels like it's missing based on the other methods that are available in ArrayList. Also refactor `orderedRemove` to just call out to `replaceRange`. Happy to revert...

Currently there are issues when you try to compile a single file header as a C source file `build.zig` ```zig const raygui = b.dependency("raygui", .{}); exe.addCSourceFile(.{ .file = raygui.path("src/raygui.h"), .flags...

enhancement
zig build system

Right now, I'm looking to develop my own Linux distro using Zig and I have to supply a libc. A libc implementation which I am interested in using is LLVM's...