Skip to content

[DNM] Remove thunk over objc_copyImageHeaders(). - #1826

Draft
grynspan wants to merge 2 commits into
mainfrom
jgrynspan/remove-swt_objc_copyImageHeaders
Draft

[DNM] Remove thunk over objc_copyImageHeaders().#1826
grynspan wants to merge 2 commits into
mainfrom
jgrynspan/remove-swt_objc_copyImageHeaders

Conversation

@grynspan

@grynspan grynspan commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

Our CI is now on an Xcode 27 beta, so it can directly invoke objc_copyImageHeaders(). No need for the dlsym()-calling thunk anymore.

Checklist:

  • Code and documentation should follow the style of the Style Guide.
  • If public symbols are renamed or modified, DocC references should be updated.

Our CI is now on an Xcode 27 beta, so it can directly invoke
`objc_copyImageHeaders()`. No need for the `dlsym()`-calling thunk anymore.
@grynspan grynspan added this to the Swift 6.5.0 (main) milestone Aug 9, 2026
@grynspan grynspan self-assigned this Aug 9, 2026
@grynspan grynspan added darwin 🍎 macOS, iOS, watchOS, tvOS, and visionOS support discovery 🔎 test content discovery tech-debt 💾 reduces technical debt labels Aug 9, 2026
@grynspan

Copy link
Copy Markdown
Contributor Author

Primary Swift CI still uses an older Xcode, so need to double-check we don't break the toolchain build first. (May need to hold off on this change for a few years, or use #if compiler(>=6.4).)

@grynspan
grynspan marked this pull request as draft August 13, 2026 21:48
@grynspan grynspan changed the title Remove thunk over objc_copyImageHeaders(). [DNM] Remove thunk over objc_copyImageHeaders(). Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

darwin 🍎 macOS, iOS, watchOS, tvOS, and visionOS support discovery 🔎 test content discovery tech-debt 💾 reduces technical debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant