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

Use shlex rather than split_whitespace() #1572

Closed

Conversation

NotGyro
Copy link
Contributor

@NotGyro NotGyro commented Feb 21, 2024

Potential implementation of #1455, in an attempt to resolve #1435 and #1441. As I said in our conversation in the private discord channel, actually implementing this change was very easy but verifying its correctness has been tricky. To my knowledge there's no test that would touch this codepath yet.

After looking over Cargo and Rustc's source and speaking with @workingjubilee, it looks like Cargo reads RUSTFLAGS and passes it to rustc invocations, and rustc doesn't touch RUSTFLAGS directly, so this shouldn't duplicate arguments.

@workingjubilee
Copy link
Member

@NotGyro Oh, you shouldn't close and then force-push, that breaks the PR. You'll have to open a new one.

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