| ... | @@ -326,8 +326,7 @@ test "array coersion to undefined at runtime" { | ... | @@ -326,8 +326,7 @@ test "array coersion to undefined at runtime" { |
| 326 | | 326 | |
| 327 | @setRuntimeSafety(true); | 327 | @setRuntimeSafety(true); |
| 328 | | 328 | |
| 329 | // TODO implement @setRuntimeSafety in stage2 | 329 | if (builtin.mode != .Debug and builtin.mode != .ReleaseSafe) { |
| 330 | if (builtin.zig_backend != .stage1 and builtin.mode != .Debug and builtin.mode != .ReleaseSafe) { | | |
| 331 | return error.SkipZigTest; | 330 | return error.SkipZigTest; |
| 332 | } | 331 | } |
| 333 | | 332 | |