Skip to content

Upgrade rust build environment to 1.79 #11488

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

Closed
nkaz001 opened this issue Jul 22, 2024 · 4 comments
Closed

Upgrade rust build environment to 1.79 #11488

nkaz001 opened this issue Jul 22, 2024 · 4 comments

Comments

@nkaz001
Copy link

nkaz001 commented Jul 22, 2024

What's the problem this feature will solve?

Error

Config validation error in build.tools.rust. Expected one of (1.55, 1.61, 1.64, 1.70, 1.75, 1.78, latest), got type str (1.79). Double check the type of the value. A string may be required (e.g. "3.10" instead of 3.10)

Describe the solution you'd like

Please add Rust 1.79

Alternative solutions

.

Additional context

Since my library is using the features which is stabilized in 1.79, downgrading to 1.78 is not an option.

@humitos
Copy link
Member

humitos commented Jul 22, 2024

Hi @nkaz001

From our documentation at https://docs.readthedocs.io/en/stable/config-file/v2.html#build-tools

Versions and the latest option are updated at least once every six months to keep up with the latest releases.

We updated the latest versions in June #11386; so we don't plan to update them again until by the end of 2024, probably. Unfortunately, Rust 1.79 was release some days immediately after we update the versions.

@nkaz001
Copy link
Author

nkaz001 commented Jul 22, 2024

That's unfortunate. Is there a way to work around this, such as using the nightly version of 1.78?

@humitos
Copy link
Member

humitos commented Jul 22, 2024

You should be able to remove your build.tools.rust entry and then run the commands manually:

asdf install rust 1.79.0
asdf global rust 1.79.0

Let me know if that works.

@nkaz001
Copy link
Author

nkaz001 commented Jul 23, 2024

It works by manually running the build command using build.command. Thank you for your help.

@nkaz001 nkaz001 closed this as completed Jul 23, 2024
@github-project-automation github-project-automation bot moved this from Planned to Done in 📍Roadmap Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants