[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAHaybgkt0jy_G8cO88CJ9H2MiiakqfZGjAo3f37056amLPhcEg@mail.gmail.com>
Date: Mon, 22 Mar 2021 09:22:41 +0100
From: Adam Bratschi-Kaye <ark.email@...il.com>
To: Geert Stappers <stappers@...ppers.nl>
Cc: Joshua Abraham <j.abraham1776@...il.com>,
Miguel Ojeda <miguel.ojeda.sandonis@...il.com>,
Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>,
rust-for-linux@...r.kernel.org,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: drivers/char/rust_example fails to load 2021-03-20 builds
> How to tell "use older parts in toolchain"?
> Yeah, probably a Rust newbie question, still a sincere question.
> Was a older version installed? How to tell `rustup` to keep old
> versions? Was done with a cargo.toml entry? Or with file
> `rust-toolchain`? Please tell (Please spoon feed me ;-)
Using `rust-toolchain.toml` should work.
Another option would be to override the default version for the given
directory with
`rustup override set nightly-2021-02-20`.
You could also set the global default `rustc` to a specific nightly release:
`rustup default nightly-2021-02-20`.
More info here: https://rust-lang.github.io/rustup/overrides.html
Powered by blists - more mailing lists