zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
relate https://github.com/ziglang/zig/pull/12901 - [x] add case for times with NaN/Inf
[Accepted Proposal](https://github.com/ziglang/zig/issues/1006#issuecomment-534660820) ----- If we solve #157 then we'll know at compile-time the maximum stack usage of the entire call graph. Except for recursion. Recursion - whether direct or indirect...
### Zig Version 0.10.0-dev.1246+e67c756b91 ### Steps to Reproduce and Observed Behavior ```zig const std = @import("std"); const expect = std.testing.expect; fn clobberStack() void { var array: [20]u32 = undefined; _...
### Zig Version 0.11.0-dev.38+b40fc7018 ### Steps to Reproduce and Observed Behavior ``` git clone https://github.com/davidgm94/RNU.git cd RNU git checkout zig-comptime-runtime-break zig build ``` This happened around this code when I...
Should address #13247; this doesn't make `enumValue` or `shuffle` consistent across architectures, but it does allow one to use the alternative function to specify an integer with a bit width...
### Zig Version 0.10.0 ### Steps to Reproduce and Observed Behavior `zig build` on this program: ```zig const std = @import("std"); pub fn main() !void { try doMath(std.math.add, 5, 6);...
### Zig Version 0.10.0 ### Steps to Reproduce and Observed Behavior ```zig const std = @import("std"); var pair: [2]usize = .{ 1, 2 }; noinline fn foo(x: usize, y: usize)...
I found this out while trying to use ZPM to add a package. This is not a ZPM bug as I found, but rather a bug in Zig's std.mem.concat. Below...
### Zig Version 0.10.0 ### Steps to Reproduce and Observed Behavior I have a basic blink for the RPi Zero/A+ (which is armv6). I based it on the same program...
### Zig Version nightly ### Steps to Reproduce ❯ brew install zig --HEAD Running `brew update --auto-update`... ==> Auto-updated Homebrew! ==> Updated Homebrew from 3be7a6548 to 241533912. Updated 3 taps...