Skip to content

Commit 67ea47b

Browse files
committed
Revert "update runtime safety test case - unsigned-signed vector cast"
This reverts commit 663f0b3. The behavior appears to be inconsistent between running locally and on the CI. I suspect it could be based on what vector CPU features are available.
1 parent 663f0b3 commit 67ea47b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/runtime_safety.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ pub fn addCases(cases: *tests.CompareOutputContext) void {
8989
\\const std = @import("std");
9090
\\const V = @import("std").meta.Vector;
9191
\\pub fn panic(message: []const u8, stack_trace: ?*@import("builtin").StackTrace) noreturn {
92-
\\ if (std.mem.eql(u8, message, "integer cast truncated bits")) {
92+
\\ if (std.mem.eql(u8, message, "attempt to cast negative value to unsigned integer")) {
9393
\\ std.process.exit(126); // good
9494
\\ }
9595
\\ std.process.exit(0); // test failed

0 commit comments

Comments
 (0)