zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
### Zig Version 0.10.0-dev.699+55fa349ad ### Steps to Reproduce Note that this isn't really a problem for most purposes as nobody should be hitting the ARG_MAX limit in normal use. 1....
### Zig Version 0.10.0-dev.84+4f4f0bc6f ### Steps to Reproduce ``` $ echo "pub fn main() void { }" > test.zig $ zig build-exe --name "hello/world" test.zig ``` ### Expected Behavior Exits...
### Zig Version 0.10.0-dev.263+c5ee73f65 ### Steps to Reproduce ```fish $ zig build-exe -fno-emit-bin -fno-LLVM nonexistent_file.zig ``` ### Expected Behavior ``` error: unable to load 'nonexistent_file.zig': FileNotFound ``` ### Actual Behavior...
### Zig Version 0.10.0-dev.4870+be5130ec5 ### Steps to Reproduce Run `zig libc` ### Expected Behavior Don't panic, maybe print a non-zero exit code ### Actual Behavior  ``` thread 28145757 panic:...
### Zig Version 0.10.0-dev.63+6b8e33d14 ### Steps to Reproduce ```zig const a = .{ // zig fmt: off .{ 0, 1 }, // zig fmt: on }; // No formatting here......
### Zig Version 0.9.0 ### Steps to Reproduce Compile the following program with `zig cc hello.c -o hello` on macOS Catalina or Big Sur (not Monterey): ```c // hello.c #include...
### Zig Version 0.9.0-dev.1737+c42763f8c ### Steps to Reproduce ``` mkdir repro cd repro zig init-exe mkdir subdir mkdir other_subdir touch subdir/solution.zig touch other_subdir/solution.zig ``` edit `src/Main.zig` to ```zig const std...
First, thanks so much for all your incredible work! This language and working environment are exactly what I've been hoping to find for many, many years. I'm trying to build...
### Zig Version 0.10.0-dev.40+303bad998 ### Steps to Reproduce Create an ARM assembly file named `test.s` with the following contents: ```asm mov r1, #0 ``` Compile that file to an object...
### Zig Version 0.9.0-dev.1414+cde3dd365 ### Steps to Reproduce Using [bazel-zig-cc](https://sr.ht/~motiejus/bazel-zig-cc/)@[361fc42b](https://git.sr.ht/~motiejus/bazel-zig-cc/tree/361fc42b2e1282ed078bf9c1ad281642e19858d4), build a cgo project with `zig cc` and `pure = off`. ```py3 go_binary( name = "some", embed = [":some_lib"], goarch...