Repository navigation
build: pin vendor accesskit to 0.24 to fix macOS build - #1701
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #1700
Change
vendor/gpui_macos/Cargo.toml:accesskit^0.25.2back to^0.24.0.Cargo.lock: the 0.25.2 entry is gone. All crates use oneaccesskit 0.24.1.Why
accesskit_macos 0.26.3and the gpui trait use accesskit 0.24.1.vendor/gpui_macos/src/window.rs:2399implementsa11y_tree_updatewith the 0.25TreeUpdate.Proof (real macOS, arm64, over ssh, background, no focus taken)
cargo check -p gpui_macos:error[E0053]: method a11y_tree_update has an incompatible type for trait.cargo build -p app --bin codex-gpui:EXIT=0. It compilesaccesskit_macos v0.26.3andgpui_macos./opt/homebrew/binon PATH for cmake (opusic-sys). Environment only, no code change.Ponytail review (one round)
gpui_macosagainst accesskit 0.24 before merge): answered by the Mac build above. Named keep as proof, not a code change.