diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-10-13 18:43:43 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-10-13 18:43:43 -0700 |
| commit | b0f80ef0d5517b5ce8ba60dfae6dd986346f8d4c (patch) | |
| tree | 14dbc30206ceed6282ee010685de8da1ede4167d /lib/std/special/compiler_rt.zig | |
| parent | df7d6d263e4ad6adb302856235641ae9ceb142b6 (diff) | |
| download | zig-b0f80ef0d5517b5ce8ba60dfae6dd986346f8d4c.tar.gz zig-b0f80ef0d5517b5ce8ba60dfae6dd986346f8d4c.zip | |
stage2: remove use of `builtin.stage2_arch` workaround
The LLVM backend no longer needs this hack! However, the other backends
still do. So there are still some traces of this workaround in use for now.
Diffstat (limited to 'lib/std/special/compiler_rt.zig')
| -rw-r--r-- | lib/std/special/compiler_rt.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/special/compiler_rt.zig b/lib/std/special/compiler_rt.zig index 8bd9e6e499..3582b93070 100644 --- a/lib/std/special/compiler_rt.zig +++ b/lib/std/special/compiler_rt.zig @@ -2,7 +2,7 @@ const std = @import("std"); const builtin = @import("builtin"); const is_test = builtin.is_test; const os_tag = builtin.os.tag; -const arch = builtin.stage2_arch; +const arch = builtin.cpu.arch; const abi = builtin.abi; const is_gnu = abi.isGnu(); |
