Skip to content

fix(desktop): disable JSC JIT on AVX-less Linux CPUs - #3755

Open
gokay-ai wants to merge 1 commit into
block:mainfrom
gokay-ai:agent/codex/fix-avxless-linux-jsc-202607301746
Open

fix(desktop): disable JSC JIT on AVX-less Linux CPUs#3755
gokay-ai wants to merge 1 commit into
block:mainfrom
gokay-ai:agent/codex/fix-avxless-linux-jsc-202607301746

Conversation

@gokay-ai

Copy link
Copy Markdown

Summary

  • disable JavaScriptCore JIT only when an x86_64 Linux CPU has readable feature data without AVX
  • preserve explicit JSC_useJIT configuration and existing dmabuf / --safe-rendering behavior
  • document the WebKitGTK 2.52 SIGILL workaround

Test plan

  • rustfmt --edition 2021 --check desktop/src-tauri/src/webkit_rendering.rs desktop/src-tauri/src/webkit_rendering/tests.rs
  • rustc --edition=2021 --crate-type lib desktop/src-tauri/src/webkit_rendering.rs
  • git diff --check
  • cargo test --manifest-path desktop/src-tauri/Cargo.toml webkit_rendering --lib (blocked locally: Hermit cargo component is unavailable for the configured 1.95.0-aarch64-apple-darwin toolchain)

Fixes #3747

Signed-off-by: Gökay Yılmaz <60583610+gokay-ai@users.noreply.github.com>
@gokay-ai
gokay-ai requested a review from a team as a code owner July 30, 2026 15:05
Copilot AI review requested due to automatic review settings July 30, 2026 15:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug][Linux] Window freezes: WebKitWebProcess dies with SIGILL (AVX vmovaps in JavaScriptCore) on CPUs without AVX

2 participants