Skip to content

Ensure module tracing is off when checking disable-implicit* flags #68453

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

edymtt
Copy link
Contributor

@edymtt edymtt commented Sep 12, 2023

In some internal configurations we set the
SWIFT_LOADED_MODULE_TRACE_FILE environment variable when running the build of the compiler -- as a result, this causes -parse to always fails, preventing to detect properly if we can use disable-implicit* flags.

Addresses rdar://115338219

In some internal configurations we set the
`SWIFT_LOADED_MODULE_TRACE_FILE` environment variable when running the
build of the compiler -- as a result, this causes `-parse` to always
fails, preventing to detect properly if we can use `disable-implicit*`
flags.

Addresses rdar://115338219
@edymtt
Copy link
Contributor Author

edymtt commented Sep 12, 2023

@swift-ci please test

Copy link
Contributor

@al45tair al45tair left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@edymtt edymtt merged commit 5b69b93 into swiftlang:main Sep 13, 2023
edymtt added a commit to edymtt/swift that referenced this pull request Mar 18, 2024
Such module usages are not relevant for the final build, they are used
only to detect the capabilities of the compilers.

This generalizes swiftlang#68453, and would be needed for Apple internal
configurations that set `SWIFT_LOADED_MODULE_TRACE_FILE` when building
the compiler.

Addresses rdar://124954349
edymtt added a commit to edymtt/swift that referenced this pull request Mar 18, 2024
Such module usages are not relevant for the final build, they are used
only to detect the capabilities of the compiler.

This generalizes swiftlang#68453, and would be needed for Apple internal
configurations that set `SWIFT_LOADED_MODULE_TRACE_FILE` when building
the compiler.

Addresses rdar://124954349
rintaro pushed a commit to rintaro/swift that referenced this pull request Jul 18, 2024
Such module usages are not relevant for the final build, they are used
only to detect the capabilities of the compiler.

This generalizes swiftlang#68453, and would be needed for Apple internal
configurations that set `SWIFT_LOADED_MODULE_TRACE_FILE` when building
the compiler.

Addresses rdar://124954349

(cherry picked from commit 5aaaae5)
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