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

Define the min rust version the loco can run #163

Closed
kaplanelad opened this issue Dec 17, 2023 · 0 comments
Closed

Define the min rust version the loco can run #163

kaplanelad opened this issue Dec 17, 2023 · 0 comments

Comments

@kaplanelad
Copy link
Contributor

we should lock the rust version in cargo.toml to the minimal rust version that loco required.

[package]
..
rust-version = "1.70"
...

run with version the lower then 1.70.

getting the error:

error: package `anstream v0.6.5` cannot be built because it requires rustc 1.70.0 or newer, while the currently active rustc version is 1.66.0-nightly
Either upgrade to rustc 1.70.0 or newer, or use
cargo update -p [email protected] --precise ver
where `ver` is the latest version of `anstream` supporting rustc 1.66.0-nightly
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

No branches or pull requests

1 participant