Skip to content

line-directive: Actually stop expanding response files #82028

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

Steelskin
Copy link
Contributor

The changes in #81996 fixed the response file format but failed to actually make line-directive stop expanding the response files in the compiler invocation. These changes fix that.

The changes in swiftlang#81996 fixed the response file format but failed to
actually make `line-directive` stop expanding the response files in the
compiler invocation. These changes fix that.
@compnerd
Copy link
Member

compnerd commented Jun 5, 2025

@swift-ci please smoke test

@compnerd
Copy link
Member

compnerd commented Jun 6, 2025

@swift-ci please smoke test Linux platform

@compnerd
Copy link
Member

compnerd commented Jun 6, 2025

@swift-ci please smoke test macOS platform

@jckarter jckarter merged commit 46213b2 into swiftlang:main Jun 6, 2025
2 of 3 checks passed
@jckarter
Copy link
Contributor

jckarter commented Jun 6, 2025

Thanks for the fix! After merging this and https://github.com/swiftlang/swift/pull/81996/files, it looks like some Windows PR test jobs are still failing because of too-long command lines, such as:

https://ci-external.swift.org/job/swift-tools-support-core-PR-windows/283/console

Are there more places we need this fix?

@etcwilde
Copy link
Member

etcwilde commented Jun 7, 2025

The new error location looks like it's coming from the new build system which doesn't use line-directive: #82074 moves the availability definitions to a response file, which is where the extra characters came from.

@Steelskin Steelskin deleted the fabrice/line-directive-stop-expanding-response-files branch June 10, 2025 20:59
Steelskin pushed a commit to Steelskin/swift that referenced this pull request Jun 10, 2025
…ive-stop-expanding-response-files

line-directive: Actually stop expanding response files
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.

4 participants