Skip to content

Adopt Swift 6 in HIDPP, GestureKit, and DockKit - #1398

Merged
lujjjh merged 1 commit into
mainfrom
refactor/swift6-modules
Sep 14, 2026
Merged

lujjjh merged 1 commit into
mainfrom
refactor/swift6-modules

Conversation

@lujjjh

@lujjjh lujjjh commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator

Enable Swift 6 language mode in HIDPP, GestureKit, and DockKit as the first step of an incremental migration. Add checked Sendable conformances for immutable protocol values and gesture parameters, with regression tests for sharing them across queues.

Include GestureKit and DockKit in make test. DockKit's system UI integration tests require RUN_INTEGRATION_TESTS=1 and are skipped by default.

Building now requires a Swift 6.0+ toolchain. The application and remaining packages continue using Swift 5 language mode, and deployment targets are unchanged.

Validation

  • make test: 959 tests passed; 4 DockKit integration tests skipped.
  • Debug build and Release arm64/x86_64 build passed with no Swift compiler warnings.
  • make lint and git diff --check passed; existing lint warnings remain.

@lujjjh
lujjjh merged commit d82e98f into main Sep 14, 2026
1 check passed
@lujjjh
lujjjh deleted the refactor/swift6-modules branch September 14, 2026 16:29
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