mirror of
https://github.com/ziglang/zig.git
synced 2025-12-20 05:03:06 +00:00
enable passing behavior test
This commit is contained in:
parent
0fafc8cc44
commit
691fba38d8
@ -326,8 +326,7 @@ test "array coersion to undefined at runtime" {
|
|||||||
|
|
||||||
@setRuntimeSafety(true);
|
@setRuntimeSafety(true);
|
||||||
|
|
||||||
// TODO implement @setRuntimeSafety in stage2
|
if (builtin.mode != .Debug and builtin.mode != .ReleaseSafe) {
|
||||||
if (builtin.zig_backend != .stage1 and builtin.mode != .Debug and builtin.mode != .ReleaseSafe) {
|
|
||||||
return error.SkipZigTest;
|
return error.SkipZigTest;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user