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

LLVM has trouble compiling the old implementation, (presumably) because `leading_zeros` is thought to be a `u7` rather than a `u6`, which means `63 - clz` is not equivalent to `63...

### Zig Version 0.11.0-dev.1869+df4cfc2ec ### Steps to Reproduce and Observed Behavior Enable the tests added by https://github.com/ziglang/zig/pull/15981 (Search for the issue number of this issue.) I haven't bisected the problem...

bug
upstream
arch-aarch64
arch-riscv
backend-llvm

From https://github.com/ziglang/zig/pull/15981 and documented in https://github.com/ziglang/zig/issues/16108 . This is a PR that shows the CI failure until it gets fixed. (Is this object useful to exist on github? is it...

### Zig Version `0.11.0-dev.3655+a2f54fce5` worked in `0.11.0-dev.3395+1e7dcaa3a` ### Steps to Reproduce and Observed Behavior ```zig const std = @import("std"); x: void, pub fn main() !void { @compileLog(@typeInfo(@This()).Struct.fields[0].name[0..]); } ``` Output:...

contributor friendly
proposal
accepted

This patch tweaks Zig's behavior to prefer native SDK when compiling on an Apple platform for an Apple platform, if available. This also includes the `build.zig` code path in `main.zig`...

breaking
os-macos

We can use RtlEqualUnicodeString via eqlIgnoreCaseWTF16 to get Unicode-aware case insensitive path component comparison (but need to convert the components to UTF-16 first) Addresses some TODOs I noticed while looking...

It's easier to get M1 hardware for testing than x86_64-macos. This addresses the current bottleneck in our CI pipeline.

**It is highly recommended you read the commit descriptions**. A lot of information in these commit descriptions. The main focus here was fixing the fact that `std.os.exit` is not appropriately...

### Zig Version 0.11.0-dev.3395+1e7dcaa3a ### Steps to Reproduce and Observed Behavior try to compile any zig program (including the compiler itself) on macOS 14; current output: ```console error(link): undefined reference...

bug