0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

std: Fix version detection on x86

Call xgetbv only if X{SAVE,RESTORE} and AVX are detected.

Closes #4670
This commit is contained in:
LemonBoy 2020-03-07 23:37:07 +01:00 • committed by Andrew Kelley
commit c5885f012a