Skip to content
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

Ignore blank lines in response files #116610

Closed
wants to merge 1 commit into from
Closed

Conversation

P1n3appl3
Copy link
Contributor

@P1n3appl3 P1n3appl3 commented Oct 10, 2023

Also trims whitespace from response file lines which previously caused failures.

Fixes #116068

I'm not sure where the test should go, x.py yelled at me for trying to add it to tests/ui and none of the sub-directories seem super related. is there somewhere specifically for testing arg parsing and/or rustc_driver?

@rustbot
Copy link
Collaborator

rustbot commented Oct 10, 2023

r? @wesleywiser

(rustbot has picked a reviewer for you, use r? to override)

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Oct 10, 2023
@rust-log-analyzer

This comment has been minimized.

Copy link

@fangism fangism left a comment

Choose a reason for hiding this comment

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

Thanks for working on this! The fix looks so clean.

@rust-log-analyzer

This comment has been minimized.

@P1n3appl3
Copy link
Contributor Author

Closed in favor of #116954

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[rustc] Tolerate spaces and blanks inside @response files
5 participants