aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-10-13 18:43:43 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-10-13 18:43:43 -0700
commitb0f80ef0d5517b5ce8ba60dfae6dd986346f8d4c (patch)
tree14dbc30206ceed6282ee010685de8da1ede4167d /lib/std
parentdf7d6d263e4ad6adb302856235641ae9ceb142b6 (diff)
downloadzig-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')
-rw-r--r--lib/std/special/compiler_rt.zig2
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();