diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-01-17 21:55:49 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-01-17 21:55:49 -0700 |
| commit | 4d05f2ae5f7b79f8abb4aa07d846a46470ffdb1a (patch) | |
| tree | 930c4dc2aa77d420fd66917136cb1c0e2514f2e6 /test/behavior/int128.zig | |
| parent | 84c2c47fae82e913286a2306d8947252ae3a42f7 (diff) | |
| download | zig-4d05f2ae5f7b79f8abb4aa07d846a46470ffdb1a.tar.gz zig-4d05f2ae5f7b79f8abb4aa07d846a46470ffdb1a.zip | |
remove `zig_is_stage2` from `@import("builtin")`
Instead use the standarized option for communicating the
zig compiler backend at comptime, which is `zig_backend`. This was
introduced in commit 1c24ef0d0b09a12a1fe98056f2fc04de78a82df3.
Diffstat (limited to 'test/behavior/int128.zig')
| -rw-r--r-- | test/behavior/int128.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/behavior/int128.zig b/test/behavior/int128.zig index 6bf0eca11e..feb2617994 100644 --- a/test/behavior/int128.zig +++ b/test/behavior/int128.zig @@ -22,7 +22,7 @@ test "undefined 128 bit int" { @setRuntimeSafety(true); // TODO implement @setRuntimeSafety in stage2 - if (builtin.zig_is_stage2 and builtin.mode != .Debug and builtin.mode != .ReleaseSafe) { + if (builtin.zig_backend != .stage1 and builtin.mode != .Debug and builtin.mode != .ReleaseSafe) { return error.SkipZigTest; } |
