diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-08-30 22:02:34 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-09-01 17:54:07 -0700 |
| commit | cca57042df374305390b5b0000be75ba6d24fb63 (patch) | |
| tree | 5ccbc45ec714b1696bed58688a9b4a801e83eac9 /lib/std/start.zig | |
| parent | 3940a1be18a8312dec9d521c6e30ec4d34c44bd6 (diff) | |
| download | zig-cca57042df374305390b5b0000be75ba6d24fb63.tar.gz zig-cca57042df374305390b5b0000be75ba6d24fb63.zip | |
std: fix regressions from this branch
Also move some usingnamespace test cases from compare_output to
behavior.
Diffstat (limited to 'lib/std/start.zig')
| -rw-r--r-- | lib/std/start.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/start.zig b/lib/std/start.zig index f16a5aba1e..ac592e26ed 100644 --- a/lib/std/start.zig +++ b/lib/std/start.zig @@ -345,7 +345,7 @@ fn posixCallMainAndExit() noreturn { // FIXME: Elide the check for targets >= ARMv7 when the target feature API // becomes less verbose (and more usable). if (comptime native_arch.isARM()) { - if (at_hwcap & std.os.linux.HWCAP_TLS == 0) { + if (at_hwcap & std.os.linux.HWCAP.TLS == 0) { // FIXME: Make __aeabi_read_tp call the kernel helper kuser_get_tls // For the time being use a simple abort instead of a @panic call to // keep the binary bloat under control. |
