Skip to content

Use the current rustc version as the default RustTarget #3128

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

Open
pvdrz opened this issue Feb 13, 2025 · 1 comment · May be fixed by #3197
Open

Use the current rustc version as the default RustTarget #3128

pvdrz opened this issue Feb 13, 2025 · 1 comment · May be fixed by #3197

Comments

@pvdrz
Copy link
Contributor

pvdrz commented Feb 13, 2025

How about changing RustTarget::default to return the version of the rust compiler in use when the __cli feature is not enabled?

Originally posted by @glandium in #3052

@decathorpe
Copy link
Contributor

I wonder why only "when the __cli feature is not enabled"?

Even the CLI defaulting to a Rust version that is potentially newer than the actually available Rust compiler isn't great. It's now biting us on RHEL / EPEL 9 (which currently ships Rust 1.79), which I didn't catch during testing that I did before pushing the 0.71 update.

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 a pull request may close this issue.

2 participants