zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
### Zig Version 0.11.0-dev.2648+3cd19dd89 ### Steps to Reproduce and Observed Behavior **Note: This is almost certainly a bug in `std.http` rather than the build system.** 1. Create a minimal `build.zig`:...
### Zig Version 0.10.0-dev.4476+0f0076666 ### Steps to Reproduce and Observed Behavior ```zig var arena = std.heap.ArenaAllocator.init(testing.allocator); defer arena.deinit(); const allocator = arena.allocator; ``` This code produces an error: ``` /Users/slimsag/Desktop/hexops/mach-examples/libs/mach/libs/earcut/src/main.zig:740:29:...
add std.testing.Error with names of all possible errors found in std.testing's pub functions. * use this new error set to allow expectEqualDeep() to support self-referential structs * add a test...
### Zig Version 0.10.0-dev.2981+7090f0471 ### Steps to Reproduce I am trying to do some tests with the zig language using riscv vectorization, however both stage1 and stage2 are not supported....
Currently we cannot compile CGo programs to MacOS (at least x86_64) with default settings. Example Go file: ### main.go ``` package main // #include // char* hello() { return "hello,...
Can't repro, but definitely crashed a CI run.
### Zig Version 0.10.0-dev.4166+cae76d829.tar.xz ### Steps to Reproduce and Observed Behavior ``` zig /// trimLeft removes `str` from the left of this Zigstr, mutating it. pub fn trimLeft(self: *Self, str:...
### Zig Version 0.11.0-dev.3723+423d7b848 ### Steps to Reproduce and Observed Behavior ``` git clone https://github.com/davidgm94/rise.git cd rise git switch zig-unreachable zig build ``` ```zig ~/dev/rise| > | ../zig/build/stage3/bin/zig build [Last...
Regular objcopy allows to copy empty sections this is an interface change. Please fix this.
### Zig Version 0.11.0-dev.3655+a2f54fce5 ### Steps to Reproduce and Observed Behavior ```zig const std = @import("std"); pub fn main() !void { _ = try std.os.poll(undefined, undefined); } ``` Output: ```...