Thread (7 messages) 7 messages, 4 authors, 2021-03-23

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

From: Geert Stappers <hidden>
Date: 2021-03-22 07:00:57
Also in: lkml

On Sun, Mar 21, 2021 at 09:53:27PM -0500, Joshua Abraham wrote:
Hey Miguel,
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help