zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
I'm not sure if it's possible to do this, but here's an issue at least to document that we tried. I believe the current problem is that when the parser...
Zig already has ranged integer types, however the range is required to be a signed or unsigned power of 2. This proposal is for generalizing them further, to allow any...
SYSTEM V APPLICATION BINARY INTERFACE SPARC Processor Supplement Third Edition Support Routines Besides operating system services, libsys contains the following processor-specific support routines. Figure 6-1: libsys Support Routines docs are...
Do `zig init-exe` and put something like ```zig const x = [1]u8{ .{ ` }, }; ``` in it and run `zig build`. You'll see: ``` zig build-exe x Debug...
The 'Content-Length' header was inspected by mistake, which makes it effectively impossible to use chunked Transfer-Encoding when using the http client. Tested locally with a HTTP server - data is...
### Zig Version 0.11.0-dev.3704+729a051e9 ### Steps to Reproduce and Observed Behavior it seems that using `@tagName()` with an i32 backed enum fails while it succeeds with a u32. ```zig //...
All `std.testing` uses `std.debug.print`. I've tried implementing custom test-runner, but I couldn't manage the output of the testing library. For example we have test: ```zig test "sample" { @import("std").testing.expectEqual(test_func(), 3);...
### Zig Version 0.11.0-dev.1199+1878bdfbb ### Steps to Reproduce and Observed Behavior ```zig const std = @import("std"); const expect = std.testing.expect; test "@bitCast size with sentineled array" { const x =...