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 cargo version -v instead of rustc -vV when obtaining host triple #77

Merged
merged 1 commit into from
Sep 18, 2024
Merged

Use cargo version -v instead of rustc -vV when obtaining host triple #77

merged 1 commit into from
Sep 18, 2024

Conversation

axelkar
Copy link
Contributor

@axelkar axelkar commented Jun 24, 2024

This fixes an issue where rustc cannot be found since the cargo and rustc binaries are in separate directories.

You should probably fix the clippy lints!

src/driver.rs Outdated Show resolved Hide resolved
src/driver.rs Outdated Show resolved Hide resolved
@jfrimmel
Copy link
Owner

Thank you for your contribution! Can you adjust your code to make it build on the current MSRV? The two suggestions should be all it needs.

when obtaining host triple. This fixes an issue where rustc cannot be
found since the cargo and rustc binaries are in separate directories.
@jfrimmel
Copy link
Owner

Thank you!

Somehow GitHub won't let me run the CI on this specific PR. Someone proposed to close&re-open the PR. Therefore don't be scared when receiving a notification of a closed PR 😉

@jfrimmel jfrimmel closed this Sep 18, 2024
@jfrimmel jfrimmel reopened this Sep 18, 2024
@jfrimmel jfrimmel merged commit 3d1d6a9 into jfrimmel:master Sep 18, 2024
jfrimmel added a commit that referenced this pull request Sep 18, 2024
This was accidentally introduced with #77.
jfrimmel added a commit that referenced this pull request Sep 18, 2024
The previous code was cleaner, but is not yet supported on Rust 1.51.
This was accidentally introduced with #77.
jfrimmel added a commit that referenced this pull request Sep 18, 2024
Follow-up to #77: make sure, that everything works with current MSRV
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