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.3986+e323cf126 ### Steps to Reproduce ```console $ cat /tmp/test.zig ``` ```zig const S = struct { u: union(enum) { a: u8, } = .{}, //

bug

Zig Version: `0.10.0-dev.3979+aec0e595f` To reproduce, `export PATH=""` then use `std.ChildProcess.exec` API: ``` thread 464064 panic: invalid error code /home/andy/dev/zig/lib/std/child_process.zig:515:21: 0x34952a6 in cleanupAfterWait (zig) return @errSetCast(SpawnError, @intToError(err_int)); ^ /home/andy/dev/zig/lib/std/child_process.zig:478:42: 0x3224b53 in...

bug
contributor friendly
standard library

Reproduction: ``` $ zig build test-standalone ``` Or more precisely: ``` [nix-shell:~/dev/zig/test/standalone/c_compiler]$ ../../../build-llvm15/stage3/bin/zig build test -Dtarget=native-native-musl -Drelease-safe libc++abi: terminating due to uncaught exception of type int The following command terminated...

bug
os-linux
upstream
backend-llvm

* Introduce the `--autofix` CLI flag when building an executable, object, or library. * Refactor std.zig.render to use a struct parameter to make it easier to add/remove fields from the...

These definitions no longer match the bionic source code. Also, this line was a compilation error: ``` __reserved: [12]u8 = [_]u8{0} ** 2 ```

### Zig Version 0.10.0-dev.3838+77f31ebbb ### Steps to Reproduce I'm testing using Zig as a C/C++ toolchain using Bazel and rules_rust(https://github.com/bazelbuild/rules_rust) @motiejus Has created a very useful project that allows you...

bug

I'm working with `zig cc` and noticed that I can't remove the this flag with standard clang's option like -nostdinc / -nostdlibinc.

### Zig Version 0.10.0-dev.3880+e2bb92b2e ### Steps to Reproduce Call `@floatToInt` for a `nan` value, like this: ``` const std = @import("std"); pub fn main() void { var float: f32 =...

error message

``` error(compilation): clang failed with stderr: zig: error: clang frontend command failed with exit code 133 (use -v to see invocation) clang version 12.0.0 ([email protected]:ziglang/zig-bootstrap.git fc78f1770c0bccc5262577456da4172ae36abbc2) Target: arm-unknown-linux-android Thread model:...

bug
contributor friendly
upstream
os-android

fix https://github.com/ziglang/zig/issues/12555 https://github.com/ziglang/zig/issues/12551 https://github.com/ziglang/zig/issues/12455 loop body is noreturn and only the `break` operands are the result values of loops. the new locType 'only_break' mean only effect break result, otherwise it's...