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 2035 zig issues
Sort by recently updated
recently updated
newest added

### Zig Version 0.10.0-dev.3013+e867127a6 ### Steps to Reproduce If two zig builds with no cached items are run on a macbook m1, it will hit an unreachable. ```sh export ZIG_LOCAL_CACHE_DIR=/tmp/zig-cache...

bug
os-macos
stage2

### Zig Version 0.10.0-dev.2836+2360f8c49 ### Steps to Reproduce ```zig const x = [_]bool{ false, true, false, true }; extern fn c() void; export fn b() void { for (x) |y|...

bug
optimization
upstream
backend-llvm

### Zig Version 0.9.1 ### Steps to Reproduce ```SHELL git clone https://github.com/rodrigodornelles/3bc-lang zig cc main.c -target riscv32-linux -o 3bc.so ``` ### Expected Behavior build as a success. ### Actual Behavior...

bug
zig cc

### Zig Version 0.10.0-dev.2873+0c78ece1c ### Steps to Reproduce Affects both stage1 and stage2 ```zig test { const x: usize = 5; const ptr: *const anyopaque = &(&x); _ = ptr;...

bug
stage2
error message

### Zig Version 0.10.0-dev.2998+a45592715 ### Steps to Reproduce the following code tries to produce an enum with `undefined` fields and produces an ICE ```zig const std = @import("std"); test {...

bug
stage1

### Zig Version 0.10.0-dev.3027+0e26c6149 ### Steps to Reproduce Here is a minimal build.zig which triggers the issue: ```Zig const std = @import("std"); pub fn build(b: *std.build.Builder) void { const target...

bug
os-freebsd
stage2

### Zig Version 0.10.0-dev.3315+1a16b7214 ### Steps to Reproduce run `zig run -fsingle-threaded` on this file: ```zig pub const io_mode = .evented; pub fn main() void {} ``` ### Expected Behavior...

bug
standard library

### Zig Version 0.10.0-dev.3315+1a16b7214 ### Steps to Reproduce ```zig // main.zig const std = @import("std"); const stdout = std.io.getStdOut().writer(); const stdin = std.io.getStdIn().reader(); pub fn main() !void { var general_purpose_allocator...

bug
os-windows

### Zig Version 0.10.0-dev.3362+e863292fe ### Steps to Reproduce ```zig const ZERO_SIZED = true; var might_be_zero_sized: MightBeZeroSized = .{}; pub fn main() void { might_be_zero_sized.aFunctionThatTakesAPointer(); } const MightBeZeroSized = struct {...

bug
stage2

### Zig Version 0.10.0-dev.3361+c650ccfca ### Steps to Reproduce ``` curl https://ziglang.org/builds/zig-linux-x86_64-0.10.0-dev.3361+c650ccfca.tar.xz --out compiler.tar.gz curl https://ziglang.org/builds/zig-0.10.0-dev.3361+c650ccfca.tar.xz --out source.tar.gz tar -xvf compiler.tar.gz tar -xvf source.tar.gz cd zig-0.10.0-dev.3361+c650ccfca ../zig-linux-x86_64-0.10.0-dev.3361+c650ccfca/zig build -Dtarget=wasm32-wasi -Drelease ```...

bug
os-wasi