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

Fixes edge cases where the `startsWith` that was used previously would return a false positive on a resolved path like `foo.zig` when the resolved root was `foo`. Before this commit,...

## Part 1: Per-Module Settings in the Build System This moves many settings from `std.Build.Step.Compile` and into `std.Build.Module`, and then makes them transitive. In other words, it adds support for...

breaking
standard library
zig build system

special-cased groupings of `+-` (plus the wrapping and saturating variants) and `*/` to absolve the most common and obvious occurrence. all other non-parenthesized groupings of same-precedence operators will trip this....

Make `std.process.execv` (and similar) return type be `ExecvError!noreturn`, instead of `ExecvError`. This plays better with the type system, and helps the user understand that the function would not return under...

breaking
standard library
proposal

### Zig Version 0.11.0 ### Steps to Reproduce and Observed Behavior Here's a fragment of my actual command (obtained from `VERBOSE=1 make`) ``` $ clang -O2 -g -DNDEBUG -flto=thin -Wl,--export-dynamic...

bug

This is to address a small glitch in the std docs styles, where the bottom section gets cutoff on the mobile viewport. Also on the desktop, at the regular or...

This fixes undefined reference to `__gnu_h2f_ieee` and `__gnu_f2h_ieee` on use of the `std.fmt` functions for example when building with: `-target x86_64-freestanding-none -mcpu x86_64_v3-avx-avx2-f16c-fma-fxsr-mmx+soft_float-sse-sse2-sse3-sse4_1-sse4_2-ssse3-vzeroupper-x87-xsave -rdynamic` Example code: ```zig const std =...

Consider the following code. ```zig const std = @import("std"); pub fn main() !void { var a: f32 = 0.66; const b = 3 / 2 / a / 2; std.debug.print("b={}\n",...