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

Ever since 0.7.0 (though it added the `warning(link): unexpected LLD stderr` part in 0.7.1), I've been getting the following warning from zig when compiling with x86_64-uefi-gnu target: ``` warning(link): unexpected...

bug
os-uefi

Primary tool for "printf debugging" in Zig seems to be `std.debug.warn`. This works, but cumbersome for some use cases where you want to temporarily insert tracing of some [sub]expression without...

proposal

I copy/pasted what was done in `std.build.LibExeObjStep.make()` for `zig build-exe` to create a .rsp file for `zig clang`. Maybe it's good enough for now? Let me know if I need...

This is a bare bones implementation of a padded array. These are similar to a sentinelled array, but the sentinel is only used for implicit length determination. These kind of...

``` $ valgrind --track-origins=yes ./stage2/bin/zig test ../lib/std/multi_array_list.zig -fLLVM ==352736== Conditional jump or move depends on uninitialised value(s) ==352736== at 0x30BE750: std.array_hash_map.ArrayHashMapUnmanaged(type.Type,codegen.llvm.AnnotatedDITypePtr,type.HashContext32,true).getOrPutInternal (array_hash_map.zig:1479) ==352736== by 0x30BCEDC: std.array_hash_map.ArrayHashMapUnmanaged(type.Type,codegen.llvm.AnnotatedDITypePtr,type.HashContext32,true).getOrPutAssumeCapacityAdapted (array_hash_map.zig:736) ==352736== by 0x30BC385:...

bug
stage2
backend-llvm

### Zig Version 0.10.0-dev.4212+34835bbbc ### Steps to Reproduce Create a file with this content ```zig // spm.zig const std = @import("std"); const os = std.os; const SigSet = os.sigset_t; const...

bug
standard library

I'm not sure whether this is a bug report or a proposal because this seems like a fairly basic feature. Currently it seems like we are doing nothing about segfaults/stack...

enhancement
standard library
error message

### Zig Version 0.10.0-dev.4418+99c3578f6 ### Steps to Reproduce #12079 apparently exposed an interesting C ABI issue for MIPS Linux that @topolarity found where when trying to run tests like this...

bug
standard library
os-linux
arch-mips

Spun off from #13074 This is a crude pattern match for try-like `.cond_br` blocks emitted by Sema's safety checks. It looks for: ```zig %x = block(void, { cond_br(..., { br(%x,...

- [Sema] Changes array initialization to scan for stores the same way struct init does - [Sema/Value] Renames `compare` (and family) to `compareAll` (etc.), and fixes lots of places where...