Skip to content

Make PrivateObjectActor package-visible#25

Open
julianschiavo wants to merge 1 commit intomainfrom
julian/private-object-actor-package-access
Open

Make PrivateObjectActor package-visible#25
julianschiavo wants to merge 1 commit intomainfrom
julian/private-object-actor-package-access

Conversation

@julianschiavo
Copy link
Collaborator

@julianschiavo julianschiavo commented Mar 13, 2026

Summary

  • make PrivateObjectActor package-visible
  • make PrivateObjectActor.shared package-visible so package-level consumers in XCDocs and XCDocsSupport can link against XCDocsBridge

Validation

  • swift build --package-path /tmp/xcdocs-link-fix --cache-path /tmp/xcdocs-cache --config-path /tmp/xcdocs-config --security-path /tmp/xcdocs-security --scratch-path /tmp/xcdocs-scratch --manifest-cache local --configuration release --product XCDocs
  • swift build --package-path /tmp/xcdocs-link-fix --cache-path /tmp/xcdocs-cache --config-path /tmp/xcdocs-config --security-path /tmp/xcdocs-security --scratch-path /tmp/xcdocs-scratch-x86 --manifest-cache local --configuration release --triple x86_64-apple-macosx15.0 --product XCDocs

The missing archive symbol was XCDocsBridge.PrivateObjectActor.shared.unsafeMutableAddressor, referenced from both XCDocs and XCDocsSupport.


Note

Low Risk
Low risk: only changes Swift access control for PrivateObjectActor and PrivateObjectActor.shared, with no behavioral logic changes.

Overview
Exposes the @globalActor PrivateObjectActor and its shared singleton as package to fix cross-target linkage for package-level consumers of XCDocsBridge (e.g., references to PrivateObjectActor.shared).

Written by Cursor Bugbot for commit 8fc9901. This will update automatically on new commits. Configure here.

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