zig icon indicating copy to clipboard operation
zig copied to clipboard

General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.

Results 2216 zig issues
Sort by recently updated
recently updated
newest added

### Zig Version 0.10.0-dev.4587+710e2e7f1 ### Steps to Reproduce and Observed Behavior When the type is missing: ``` fn func(comptime x) u64 { return x * 2; } ``` ...then the...

bug
stage2
error message

### Zig Version 0.10.0-dev.4560+828735ac0 ### Steps to Reproduce and Observed Behavior https://godbolt.org/z/6ccjvdK6e This benchmark clearly shows performance degradation between stage1 and stage2. Remove -fstage1 compile argument to see stage2 results....

bug
stage2

### Zig Version 0.10.0 ### Steps to Reproduce and Observed Behavior 1. Build a dynamically-linked `zig` on macOS. This dynamic linkage can be to `libLLVM`, or any library that LLVM...

bug
os-macos
stage2
linking

### Zig Version 0.10.0-dev.4622+f28e4e03e ### Steps to Reproduce and Observed Behavior ```zig const std = @import("std"); const Hasher = std.crypto.hash.sha2.Sha256; const testfile = @embedFile("testfile"); test { comptime { @setEvalBranchQuota(100_000_000); var...

bug
stage2
stage1

### Zig Version 0.10.0-dev.4060+61aaef0b0 ### Steps to Reproduce On `0.10.0-dev.4060+61aaef0b0` (doesn't happen on `0.10.0-dev.3685+dae7aeb33`) I cross-compiled my project on macos, passing `-Dtarget=i386-windows-gnu` (doesn't happen with `-Dtarget=x86_64-windows-gnu`) ~~and linked dynamically to...

bug
contributor friendly
os-windows
stage2
arch-x86

When building a simple c++ hello world with llvm11 branch (llvm 11.0.0-rc5) (`zig c++ example-cc.cpp -target arm-linux-musleabi -mcpu=generic+v6kz`): ```cpp #include int main() { std::cout

bug
contributor friendly
upstream
arch-arm
zig cc
backend-llvm

We need some programmatic way of writing test cases for debug info so that we don't have to manually interact with gdb or other debuggers to verify that debug info...

contributor friendly
stage2

### Zig Version 0.9.1 0.10.0-dev.3978+4fd4c733d 0.10.0-dev.4560+828735ac0 ### Steps to Reproduce This code is produced when trying to compile [miniaudio](https://github.com/mackron/miniaudio) v0.11.10 library: ```zig return @bitCast(ma_bool32, @boolToInt(ma_device_get_state(pDevice) != @bitCast(c_uint, ma_device_state_uninitialized))); ``` Reduction:...

bug
translate-c

### Zig Version 0.10.0-dev.4281+ebeadf9d9 ### Steps to Reproduce These tests pass when the host is Linux, but fail when the host is Windows. 6 tests are failing within `std/fs/test.zig` and...

bug
standard library
os-windows
os-wasi

### Zig Version 0.10.0-dev.4640+20925b2f5 ### Steps to Reproduce and Observed Behavior I tried to reduce this error, but I was unable to do that. Whenever I remove too many lines...

bug