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

To reproduce on Linux: ```sh-session $ touch empty.c $ echo "pub fn main() void {}" > main.zig $ zig build-exe a.zig a.c -target x86_64-windows -fstage1 $ zig build-exe main.zig empty.c...

bug
stage2

## Problem details Looking only two leafs deep inside release archives shows the following, basic structure for at least x86_64, aarch64, armv7a, i386. `https://ziglang.org/download/0.8.0/zig-linux-x86_64-0.8.0.tar.xz` ``` zig-linux-x86_64-0.8.0/doc/langref.html zig-linux-x86_64-0.8.0/doc/std/ zig-linux-x86_64-0.8.0/lib/include/ zig-linux-x86_64-0.8.0/lib/libc/ zig-linux-x86_64-0.8.0/lib/libcxx/...

enhancement

Zig currently uses `_` in five places: - marking a parameter as unused (`fn foo(_: u32) void`) - marking an expression value as unused (`_ = func();`) - marking a...

breaking
proposal

### Zig Version 0.10.0-dev.4475+5b9c8d1d6 ### Steps to Reproduce I'm working on some code that targets arm64 and wasm32. Random.shuffle produces different orderings on the two systems, and this is causing...

bug
standard library

This is a follow-up to #10113: https://github.com/ziglang/zig/issues/10113#issuecomment-1241789307 We need an addition to the language that allows us to specify the alignment of `extern struct`s. The UEFI libs are particularly broken...

proposal

### Zig Version 0.9.1 ### Steps to Reproduce I was trying to use [termbox](https://github.com/termbox/termbox2) , in fact I tried [this example ](https://github.com/termbox/termbox2/blob/master/demo/example.zig) , but the run instruction looked weird and...

bug
stage2
translate-c

### Zig Version 0.10.0-dev.4475+5b9c8d1d6 ### Steps to Reproduce Hard to reproduce. Will only happen in a module when compiled with a lot of context code. The trigger is this: ```zig...

bug
stage2

### Zig Version 0.10.0-dev.4249+11dce7894 ### Steps to Reproduce I don't have a fully reproducible case yet. This is happening when attempting to translate part of the PostgreSQL 15 headers. ###...

bug
translate-c

Reverts ziglang/zig#13120 In reference to: https://github.com/ziglang/zig/issues/12759#issuecomment-1285803577 I was able to confirm that removing this line causes the behavior described in the comment above to go away. Digging in a bit...

I think it'd be cool if we could have a basic lerp function in the std.