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

I propose a `@stack_size(function)` builtin which returns the number of bytes that `function` - which must be a compile time constant function - will ever possibly use for the deepest...

proposal
accepted
stage2

### Zig Version 0.11.0-dev.3380+7e0a02ee2 ### Steps to Reproduce and Observed Behavior This bug was found executing a shared-memory Wasm library on Deno. ***When the code is compiled with `ReleaseSmall`, the...

bug

Based on this discussion: https://discord.com/channels/605571803288698900/785499283368706060/1100143149101371502 The idea is to allow the CI to skip jobs that have a `max_rss` that would exceed the total memory of the machine. Example output:...

This supercedes (and includes the changes from) https://github.com/ziglang/zig/pull/15531. These changes were developed in tandem with this PR, which might be a good reference for reviewers: https://github.com/kubkon/zig-dwarfdump/pull/1 ### Stack unwinding using...

### Zig Version 0.11.0-dev.1183+2b9478ce1 ### Steps to Reproduce and Observed Behavior Code: ```zig const std = @import("std"); const CacheConfig = packed struct(u16) { pending_cache: bool = false, entry_cache: bool =...

enhancement

### Zig Version 0.11.0-dev.3384+00ff65357 ### Steps to Reproduce and Observed Behavior on mac osx ventura 13.4: % brew install zig --HEAD ... error: the following build command failed with exit...

bug

### Zig Version 0.11.0-dev.3395+1e7dcaa3a ### Steps to Reproduce and Observed Behavior Adjust the path to the Zig compiler and invoke the following script twice: ```shell ZIG=# path to zig compiler...

bug

### Zig Version 0.10.0-dev.1120+0ea51f7f4 ### Steps to Reproduce 1. Save this file: ```zig const std = @import("std"); extern fn strlen(ptr: [*c]const u8) usize; pub fn main() anyerror!void { var args...

enhancement
optimization
standard library

This proposal is to merge `std.math.absCast`, `std.math.absInt`, and `@fabs` that currently only accepts floats and vectors of floats into an `@abs` and make that `@abs` additionally accept integers too as...

This is a follow-up issue to this discussion: https://github.com/ziglang/zig/pull/15879#discussion_r1208557275 Here's an example of this possibly problematic pattern that is found in many places in the compiler and the std: ```zig...