Skip to content

Conversation

@xymus
Copy link
Contributor

@xymus xymus commented Oct 28, 2025

The check on functions that are implicitly always-emit-into-client from the embedded mode was too strict. Loosen some restriction so functions don't need to be marked @_neverEmitIntoClient to reference SPI or decls from an internally imported module.

Follow up to #84630.

rdar://163519075
rdar://163519185

xymus added 2 commits October 28, 2025 11:29
Access-level on imports don't hide the dependency in
non-library-evolution mode. We can allow implicitly
always-emit-into-client function bodies from embedded mode
to references the dependencies.

rdar://163519185
Embedded mode use only binary swiftmodules for distribution, SPI will
always be visible. We can allow implicitly always-emit-into-client
function bodies from the embedded mode to references SPIs.

rdar://163519075
@xymus
Copy link
Contributor Author

xymus commented Oct 28, 2025

@swift-ci Please smoke test

@xymus xymus merged commit a4128d6 into swiftlang:main Oct 29, 2025
3 checks passed
@xymus xymus deleted the non-neic-funcs-and-spi branch October 29, 2025 17:14
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