Skip to content

build: pin vendor accesskit to 0.24 to fix macOS build - #1701

Merged
i098 merged 1 commit into
mainfrom
fm/cgx-n194-macos-accesskit
Dec 4, 2026
Merged

i098 merged 1 commit into
mainfrom
fm/cgx-n194-macos-accesskit

Conversation

@i098

@i098 i098 commented Dec 4, 2026

Copy link
Copy Markdown
Owner

Refs #1700

Change

  • vendor/gpui_macos/Cargo.toml: accesskit ^0.25.2 back to ^0.24.0.
  • Cargo.lock: the 0.25.2 entry is gone. All crates use one accesskit 0.24.1.

Why

  • accesskit_macos 0.26.3 and the gpui trait use accesskit 0.24.1.
  • vendor/gpui_macos/src/window.rs:2399 implements a11y_tree_update with the 0.25 TreeUpdate.

Proof (real macOS, arm64, over ssh, background, no focus taken)

  • Before (HEAD manifests), cargo check -p gpui_macos: error[E0053]: method a11y_tree_update has an incompatible type for trait.
  • After (this branch), cargo build -p app --bin codex-gpui: EXIT=0. It compiles accesskit_macos v0.26.3 and gpui_macos.
  • The Mac needed /opt/homebrew/bin on PATH for cmake (opusic-sys). Environment only, no code change.
  • GUI launch not run: it needs a visible window. Skipped to honor the no-focus rule.

Ponytail review (one round)

  • Finding 1 (check gpui_macos against accesskit 0.24 before merge): answered by the Mac build above. Named keep as proof, not a code change.
  • Finding 2 (unification is correct): no cut.

accesskit_macos 0.26.3 and gpui use accesskit 0.24, but the vendored
gpui_macos took 0.25.2 from Dependabot. The TreeUpdate type then differs
and the macOS build fails with E0053 on a11y_tree_update.

Refs #NEW
@i098
i098 merged commit 78eb6ab into main Dec 4, 2026
4 checks passed
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.

1 participant