Re: drivers/char/rust_example fails to load 2021-03-20 builds

From: Geert Stappers
Date: Mon Mar 22 2021 - 03:00:57 EST


On Sun, Mar 21, 2021 at 09:53:27PM -0500, Joshua Abraham wrote:
> Hey Miguel,
>
> > Please give a go to the nightly from a month ago, i.e. 2021-02-20.
>
> Cheers, using rustc 1.52.0-nightly (9b471a3f5 2021-02-19) fixed the issue.

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 ;-)


> Interesting that the newer nightly compiler creates these new
> relocations for the code!

Not each change is an improvement. Hopefully came the change with a
flag to modify the new default behaviour.



Groeten
Geert Stappers
--
Silence is hard to parse