zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
### Zig Version 0.11.0-dev.3910+689f3163a ### Steps to Reproduce and Observed Behavior I don't have a minimal repro for this now, but can try to come up with one when this...
Hi guys, In this changelist I'm suggesting to improve upon the existing Format Options parsing to make it a little more flexible, closer actually to the defaults that C programmers...
### Zig Version 0.12.0-dev.3412+54c08579e ### Steps to Reproduce and Observed Behavior FROM alpine:3.19.1 as zig-builder Dockerfile: ``` FROM alpine:3.19.1 as zig-builder ADD https://ziglang.org/builds/zig-linux-x86_64-0.12.0-dev.3412+54c08579e.tar.xz \ /usr/local/share/zig.tar.xz RUN cd /usr/local/share && \...
### Zig Version 0.12.0-dev.3212+40e64245f ### Steps to Reproduce and Observed Behavior https://ziglang.org/documentation/master/std/#std.ascii ### Expected Behavior https://en.wikipedia.org/wiki/ASCII#Character_set should be clickable.
### Zig Version 0.12.0-dev.3403+b5cef9e8b ### Steps to Reproduce and Observed Behavior 1. `zig init` 2. `git clone https://github.com/mackron/miniaudio` 3. edit `build.zig`, and add these lines just after the `const exe...
Example: [std.ArrayHashMapUnmanaged](https://ziglang.org/documentation/master/std/#std.ArrayHashMapUnmanaged) It does not list the struct fields, but it should. I think it should say "Generic Struct" instead of "Type Function" for the main heading. Related: * #19249
The purpose of this is to prepare the ground for package manager related changes like: #17463 and #18089. I found that there is are same logic implemented in both tar...
### Zig Version 0.12.0-dev.3381+7057bffc1 ### Steps to Reproduce and Observed Behavior ```zig @unionInit(comptime Union: type, comptime active_field_name: []const u8, init_expr) Union ``` ### Expected Behavior ```zig @unionInit(comptime active_field_name: []const u8,...
### Zig Version 0.12.0-dev.2159+7916cf6f8 ### Steps to Reproduce and Observed Behavior Compile some C code that has a wWinMain startup point. (my use case: C application built by build.zig) Observe...
fmt shouldn't touch up hex escape sequences in zon and extern identifiers (`.@"\x0a"` => `.@"\n"`)
Input: ```js .{ .@"\x01" = .{""}, .@"\x02" = .{""}, .@"\x03" = .{""}, .@"\x04" = .{""}, .@"\x05" = .{""}, .@"\x06" = .{""}, .@"\x07" = .{""}, .@"\x08" = .{""}, .@"\x09" = .{""},...