Commit 691fba38d8

Andrew Kelley <andrew@ziglang.org>
2022-05-18 00:21:33
enable passing behavior test
1 parent 0fafc8c
Changed files (1)
test
behavior
test/behavior/cast.zig
@@ -326,8 +326,7 @@ test "array coersion to undefined at runtime" {
 
     @setRuntimeSafety(true);
 
-    // TODO implement @setRuntimeSafety in stage2
-    if (builtin.zig_backend != .stage1 and builtin.mode != .Debug and builtin.mode != .ReleaseSafe) {
+    if (builtin.mode != .Debug and builtin.mode != .ReleaseSafe) {
         return error.SkipZigTest;
     }