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 2035 zig issues
Sort by recently updated
recently updated
newest added

### Zig Version 0.10.0-dev.3351+90f23e131 ### Steps to Reproduce ```zig fn foo() void { var x: u32 = 1; var y = .{ x, x + 1 }; y = .{...

### Zig Version 0.10.0-dev.3363+0fc79d602 ### Steps to Reproduce ```zig fn pair(x: f32, y: f32) std.meta.Tuple(&.{f32, f32}) { return .{ x, y }; } fn foo(_: anytype) void {} test {...

bug
stage2

Dwarf FORM types strx1, strx2, strx3 and strx4 are now handled. This (for me) fixes #12120 However, I'm unsure if `getStringOffset` is correct as I'm unsure how to test it....

## Motivation Result Location Semantics have three core goals in Zig 1. to allow returning large structs without a large perf cost 2. to allow async frames to be composed...

proposal

At the moment, asm blocks that do not use the (-> Type) return value mechanism use indirect register constraints for output values. This is a surprising behavior which is causing...

bug

In theory we could sometimes take advantage of SIGFPE for our integer division by zero safety check: ``` test "integer division by zero" { @setRuntimeSafety(false); var x: i32 = 10;...

enhancement
optimization
stage2

Just a small thing I found I could do. # Before ![image](https://user-images.githubusercontent.com/35064754/181622620-ef9a3e38-b2b7-4f24-b246-5057803bea92.png) # After ![image](https://user-images.githubusercontent.com/35064754/181622632-1213ff82-754f-45b7-ba77-7ce3a90defff.png)

### Zig Version 0.10.0-dev.3361+c650ccfca ### Steps to Reproduce Run the following with `zig test -fno-stage1` ```zig test { const Int = @Type(.{ .Int = .{ .signedness = .unsigned, .bits =...

bug
stage2

``` var foo: u32 = 0; var bar: u8 = 1; foo = bar

proposal