Skip to content

Conversation

@drodriguez
Copy link
Contributor

PR#78516 performed a rename from swiftRuntime to swiftRuntimeCore but might have skipped these two instances because the code is rarely compiled in Darwin platforms (and it is not compiled in Linux/Windows platforms either). The code on the runtime unittests seems to be associated with the SDK overlays being built (either static or dynamic), which none are for Darwin platforms by default. Other platforms should build the dynamic SDK overlay, but the file is surrounded with checks for __APPLE__ and __MACH__.

The normal CI would never hit this file, but someone might while building the static or dynamic SDK overlay if they so request it to the build-script.

PR#78516 performed a rename from `swiftRuntime` to `swiftRuntimeCore`
but might have skipped these two instances because the code is rarely
compiled in Darwin platforms (and it is compiled in
Linux/Windows platforms either). The code on the runtime unittests seems
to be associated with the SDK overlays being built (either static or
dynamic), which none are for Darwin platforms. Other platforms should
build the dynamic SDK overlay, but the file is surrounded with checks
for `__APPLE__` and `__MACH__`.

The normal CI would never hit this file, but someone might while
building the static or dynamic SDK overlay if they so request it to the
`build-script`.
@drodriguez
Copy link
Contributor Author

@swift-ci please smoke test

@drodriguez drodriguez enabled auto-merge (squash) September 12, 2025 16:11
@drodriguez
Copy link
Contributor Author

@swift-ci please smoke test

@drodriguez drodriguez merged commit 8dbac56 into swiftlang:main Sep 12, 2025
3 checks passed
@drodriguez drodriguez deleted the unittests-runtime-fix-build branch September 22, 2025 19:06
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.

2 participants