mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-06-01 22:05:26 +03:00
8b220cd746
We prefer information from HWCAP than CPUCFG and
assume those features unavailable if HWCAP is not available.
This is because many features require kernel support
(e.g. context switching support).
Follow-up: 37288e53ae ("std.zig.system.loongarch: implement individual cpu feature bit tests (#30915)")
Change-Id: I0a610b2c4fc751f0f159e79e01bb9f6fb7588ccf
Signed-off-by: xtex <xtex@astrafall.org>