Re: [TECH TOPIC] Rust for Linux

Miguel Ojeda
2021-07-08T14:04:41Z

On Thu, Jul 8, 2021 at 3:43 PM Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>
> So what happens if this fails?

Just in case: are you asking out of concern for "Rust panics" etc.?
The upgrade call does not need to panic, they can be fallible; e.g.
the `Weak` types in the Rust standard library return an `Option`.

Now, what the caller does if the upgrading fails depends on who the
caller is, as usual.

Cheers,
Miguel