mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
Fixes #26635
The fix from #26071 was accidentally reverted in commit b268004715
("Upgrade WebKit to d5bd162d9ab2"). This re-applies the fix to request
the baseline WebKit variant for x64 baseline builds.
Without this, baseline x64 builds use a WebKit compiled with
-march=haswell (AVX/AVX2), causing illegal instruction (SIGILL) crashes
when running under QEMU emulation or on older CPUs without AVX support.
Uses the already-computed WEBKIT_ARCH variable instead of duplicating
the architecture regex pattern.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>