zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
### Zig Version 0.11.0-dev.1893+2770159606 ### Steps to Reproduce and Observed Output 1. ```sh mkdir repro && cd repro zig init-exe ``` 2. change build.zig to ```zig const std = @import("std");...
Closes #14837 I hope my implementation is correct.
**EDIT: I believe my original proposal here was infeasible, so have adjusted it to a smaller (and fairly simple) change.** [Updated Proposal](https://github.com/ziglang/zig/issues/14187#issuecomment-1462320967) --- Tangentially related: #9260 ## Problem Currently, generic...
The core goal here was to resolve #7056. I achieved that, but I think this also makes AstGen kinda easier to understand and less error-prone, which is a nice plus....
I understand the general rule does not use `snake_case` for function. Why do `eql_slice_u8` and `hash_slice_u8` break this rule?
See https://github.com/ziglang/zig/issues/14240#issuecomment-1374642063
The wrapper function was mistakenly referencing ntdll.zig when the actual function is declared in kernel32.zig.
Before I get started, I would like to thank the people behind Zig for their awesome work. Zig is the first language in a long time I can even potentially...
### Peer type resolution for vectors This is consistent with how coercion for vectors work. So now you can do this: ``` var a: @Vector(2, u16) = .{1, 2}; var...