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.3981+60678f5ba ### Steps to Reproduce Given the example source: ```zig const std = @import("std"); test "this passes" { var tmp: u8 = undefined; try std.testing.expect(tmp == 0xAA);...

bug
docs

This is a proposal to add a function that enables you to index an array with a vector, producing a vector of the array's elements as its output.

proposal
accepted

This is relevant to the fix and discussion in #12735 (and supersedes it). @ifreund noticed that `align(1)` is missing from `translate-c` output. Hoewever that bug is present with both stage1...

Second attempt at #11533 with feedback from previous review and self hosted compiler meeting. ![Screenshot from 2022-09-09 19-01-17](https://user-images.githubusercontent.com/15308111/189399428-9b8c4834-4c53-4b74-9081-45dd2daff232.png)

This change adds support for POSIX timers to the standard library. It adds the required structure and enum definitions to call the timer_* API on linux. It also fixes a...

This PR changes `std.mem.trimLeft`, `...trimRight`, and `...trim` to allow the use of both mutable and non-mutable slices. Previously, either a dangerous `intToPtr` was needed, or the slice's data had to...

Taking guidance from: ziglang/zig-spec#38, carriage returns are now allowed preceding line-feeds when found in doc-comments or multiline strings. The CRLF is also only interpreted as a newline in this case....