Skip to content

Missing an explicit include of <mach-o/dyld.h> on Apple platforms.#932

Merged
grynspan merged 1 commit into
mainfrom
jgrynspan/missing-dyld-h-include
Jan 28, 2025
Merged

Missing an explicit include of <mach-o/dyld.h> on Apple platforms.#932
grynspan merged 1 commit into
mainfrom
jgrynspan/missing-dyld-h-include

Conversation

@grynspan

@grynspan grynspan commented Jan 28, 2025

Copy link
Copy Markdown
Contributor

On some Apple platforms (e.g. iOS), the set of includes we have in _TestingInternals doesn't transitively include dyld.h, causing a build failure when building for those platforms. So explicitly include it.

Checklist:

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

On some Apple platforms (e.g. iOS), the set of includes we have in
`_TestingInternals` doesn't transitively include dyld.h, causing a build
failure when building for those platforms. So explicitly include it.
@grynspan grynspan added bug 🪲 Something isn't working darwin 🍎 macOS, iOS, watchOS, tvOS, and visionOS support labels Jan 28, 2025
@grynspan grynspan added this to the Swift 6.x milestone Jan 28, 2025
@grynspan grynspan self-assigned this Jan 28, 2025
@grynspan grynspan added the workaround Workaround for an issue in another component (may need to revert later) label Jan 28, 2025
@grynspan

Copy link
Copy Markdown
Contributor Author

@swift-ci test

@grynspan

Copy link
Copy Markdown
Contributor Author

Change won't affect Windows, so I'm merging this before Windows CI completes. 😇

@grynspan grynspan merged commit 0da75fa into main Jan 28, 2025
@grynspan grynspan deleted the jgrynspan/missing-dyld-h-include branch January 28, 2025 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🪲 Something isn't working darwin 🍎 macOS, iOS, watchOS, tvOS, and visionOS support workaround Workaround for an issue in another component (may need to revert later)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants