Skip to content

Rust version: Instructions conflict with upstream requirements #133

Open
@ratijas

Description

@ratijas

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions