Skip to content

rustup no longer automatically installs the right toolchain #511

Closed
@bergkvist

Description

@bergkvist

See https://blog.rust-lang.org/2025/03/02/Rustup-1.28.0.html

Before this change, I could add a rust-toolchain.toml file to my Python-project, and setuptools-rust would automatically install the right toolchain before building.

Now, before building it is neccesary to run the following command manually (in the same folder as the rust-toolchain.toml file):

rustup toolchain install

It would be nice if there was a way to configure setuptools-rust with a flag to run this command before issuing cargo/rustc build commands (or to attempt to run it by default).

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