Re: drivers/char/rust_example fails to load
From: Miguel Ojeda
Date: Mon Mar 22 2021 - 21:25:59 EST
On Mon, Mar 22, 2021 at 1:20 PM Miguel Ojeda
<miguel.ojeda.sandonis@xxxxxxxxx> wrote:
>
> I'll take a look at fixing those soon.
For those that may read this or run into the same issue: this started
with the LLVM 12 upgrade in rustc nightlies. Therefore, please avoid
the very latest nightlies (>= nightly-2021-03-05) until [1] is
resolved.
To automatically setup a known-to-work nightly for Rust for Linux (the
one we use the most in the CI), run:
rustup default nightly-2021-02-20
[1] https://github.com/Rust-for-Linux/linux/issues/135
Cheers,
Miguel