aboutsummaryrefslogtreecommitdiff
path: root/test/tests.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-01-21 22:01:24 -0500
committerAndrew Kelley <andrew@ziglang.org>2020-01-21 22:02:13 -0500
commitcbe9a51518db6f4e77a4f8c72e8cd9cd02fa7f49 (patch)
tree9efdeb5bcc24f2cbafec863ee422eede660b2c7c /test/tests.zig
parent830e0ba2d27b55f999a891d007b24131b790e8c9 (diff)
downloadzig-cbe9a51518db6f4e77a4f8c72e8cd9cd02fa7f49.tar.gz
zig-cbe9a51518db6f4e77a4f8c72e8cd9cd02fa7f49.zip
don't trust llvm's GetHostCPUName
comment from this commit reproduced here: I have observed the CPU name reported by LLVM being incorrect. On the SourceHut build services, LLVM 9.0 reports the CPU as "athlon-xp", which is a 32-bit CPU, even though the system is 64-bit and the reported CPU features include, among other things, +64bit. So the strategy taken here is that we observe both reported CPU, and the reported CPU features. The features are trusted more; but if the features match exactly the features of the reported CPU, then we trust the reported CPU.
Diffstat (limited to 'test/tests.zig')
0 files changed, 0 insertions, 0 deletions