zig
zig copied to clipboard
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
``` $ zig-out/bin/zig test test/cases/compile_errors/non_sized_asm_input_operand.zig test/cases/compile_errors/non_sized_asm_input_operand.zig:4:23: error: input operand of type 'type' is not sized : [_] "{al}" (u8), ^~ test/cases/compile_errors/non_sized_asm_input_operand.zig:12:22: error: input operand of type 'type' is not sized...
It should fix #15972
I was gonna do more than this (namely remove `Type.Payload`) but that quickly turned out to be a bit too much to do all at once. It's going to need...
### Zig Version 0.11.0-dev.3386+99fe2a23c ### Steps to Reproduce and Observed Behavior ```zig const MyStruct = struct { foobar: u8, }; var my_struct1 = MyStruct{ .foobar = 1 }; var my_struct2...
### Zig Version 0.11.0-dev.3602+387f9568a ### Steps to Reproduce and Observed Behavior The following code causes a runtime panic exclusively when linking libc: ```zig const std = @import("std"); threadlocal var x:...
closes #16048
Zig's HTTP client breaks down when redirected to a URL with escaped query parameters. It seems to be doubly escaping them; this PR simply exempts the `%` character from being...
### Zig Version 0.11.0-dev.1635+d09e39aef ### Steps to Reproduce and Observed Behavior Try to compile a program that uses those functions. ### Expected Behavior I don't see a reason for them...
It may be useful to flip the arguments to `std.testing.expectEqual`. Right now, the expected value is the first formal parameter and the actual value is the second formal parameter. When...