Skip to content

driver: Improve check for rustc arg #3136

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

Merged
merged 1 commit into from Sep 6, 2018
Merged

driver: Improve check for rustc arg #3136

merged 1 commit into from Sep 6, 2018

Conversation

ghost
Copy link

@ghost ghost commented Sep 6, 2018

The rustc arg might not be exactly "rustc". It may be any path to a rustc
executable (especially if the RUSTC environment variable is set when
executing cargo). Rather check that it is a path with 'rustc' file stem.

The rustc arg might not be exactly "rustc". It may be any path to a rustc
executable (especially if the RUSTC environment variable is set when
executing cargo). Rather check that it is a path with 'rustc' file stem.
@ghost
Copy link
Author

ghost commented Sep 6, 2018

This pull request replaces #3130

@oli-obk oli-obk merged commit 3262f92 into rust-lang:master Sep 6, 2018
@ghost ghost deleted the driver-rustc-arg-2 branch September 7, 2018 06:52
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