We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.11.0
zig pub fn do_something(slice1: []u8, slice2: []u8) void { std.debug.print("{any} {any}", .{ slice1, slice2 }); } pub fn main() !void { var anon_list = .{ [_]u8{0} ** 40, [_]u8{0} ** 40 }; do_something(&anon_list[0], &anon_list[1]); }
zig build fails with
Build Summary: 0/3 steps succeeded; 1 failed (disable with --summary none) install transitive failure └─ install zcrash transitive failure └─ zig build-exe zcrash Debug native failure error: the following build command failed with exit code 1:
This code should compile or give an error indicating the line number of the issue.
The text was updated successfully, but these errors were encountered:
Duplicate of #12963
Sorry, something went wrong.
No branches or pull requests
Zig Version
0.11.0
Steps to Reproduce and Observed Behavior
zig build fails with
Build Summary: 0/3 steps succeeded; 1 failed (disable with --summary none) install transitive failure └─ install zcrash transitive failure └─ zig build-exe zcrash Debug native failure error: the following build command failed with exit code 1:
Expected Behavior
This code should compile or give an error indicating the line number of the issue.
The text was updated successfully, but these errors were encountered: