Skip to content

Rust version: Instructions conflict with upstream requirements #133

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
ratijas opened this issue Dec 31, 2024 · 0 comments · May be fixed by #137
Open

Rust version: Instructions conflict with upstream requirements #133

ratijas opened this issue Dec 31, 2024 · 0 comments · May be fixed by #137

Comments

@ratijas
Copy link

ratijas commented Dec 31, 2024

Unfortunately, it seems that the Rust toolchain version listed in rust-toolchain.toml is no longer enough to build/install cargo-make if the command cargo install cargo-make is invoked from this repository's directory:

error: failed to compile `cargo-make v0.37.23`, intermediate artifacts can be found at `/tmp/cargo-installOwOoIm`.
To reuse those artifacts with a future compilation, set the environment variable `CARGO_TARGET_DIR` to that path.

Caused by:
  package `cargo-platform v0.1.9` cannot be built because it requires rustc 1.78 or newer, while the currently active rustc version is 1.74.0
  Try re-running cargo install with `--locked`

meanwhile, rust-toolchain.toml contains this channel version:

[toolchain]
channel = "1.74.0"
targets = ["thumbv6m-none-eabi"]
components = ["clippy", "rustfmt"]

Possible solutions:

  1. Bump the version.
  2. Run the install command outside of this project's directory.
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.

1 participant