zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
Blockers: * #15329 * #17645 * #19372 * #19606 * #19607 * #19773 * #20113 * #20122 * #20581 * #20955 * #21227 * #21529 * #21530 * #21834 *...
### Zig Version 0.14.0-dev.3298+6fe1993d8 ### Steps to Reproduce and Observed Behavior `zig test shortcuts2.zig -fno-llvm` fails while `zig test shortcuts2.zig` passes. See in the code the 2 relevant `// TODO..`...
Instruction selection of `=` on integer vectors needs to be rewritten in the self-hosted backend.
Instruction selection of `@divFloor` and `@mod` on integers and integer vectors needs to be rewritten in the self-hosted backend.
Part of #2879. According to the [instruction](https://github.com/ziglang/zig/issues/2879#issuecomment-2797310223), this PR removes some musl files, including the following functions: - sin - sinf - cos - cosf - sincos - sincosf -...
### Zig Version 0.14.1 ### Steps to Reproduce and Observed Behavior Call `std.posix.sendfile` with non-seek `in_fd` and `offset` 0 on Linux. This results in `Unseekable` error. ### Expected Behavior If...
Hi, This PR adds the possibility to override the ZON serialization default behavior if a struct or union declares a method `pub fn zonStringify(self: *@This(), zon_serializer: anytype, options: std.zon.stringify.ValueOptions) !void`....
At least `call_safe` and `br_safe` are missing as Air instructions. When an argument is `undefined`, the backend needs to know whether to initialize it with 0xaa bytes or not. The...
Currently constants passed to `std.math.isInf` and `std.math.isNan` trigger an obtuse (to me): `error: access of union field 'float' while field 'comptime_float' is active`. The work-around is to cast the constant...