[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72ns7U3mWxt=gZVPTHB49as5gaY7=kR5TmxGAoMQx3qgbA@mail.gmail.com>
Date: Mon, 5 Dec 2022 14:53:53 +0100
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Wedson Almeida Filho <wedsonaf@...il.com>
Cc: Gary Guo <gary@...yguo.net>, Josh Triplett <josh@...htriplett.org>,
ojeda@...nel.org, Alex Gaynor <alex.gaynor@...il.com>,
Boqun Feng <boqun.feng@...il.com>,
Björn Roy Baron <bjorn3_gh@...tonmail.com>,
rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
patches@...ts.linux.dev, Wei Liu <wei.liu@...nel.org>
Subject: Re: [PATCH v2 27/28] rust: types: add `Either` type
On Sun, Dec 4, 2022 at 6:36 PM Wedson Almeida Filho <wedsonaf@...il.com> wrote:
>
> It's also implemented in `std`, which the kernel doesn't include.
> (Which is actually good for us, since we can't really use it.)
We have it around in the kernel (the `std` one is a re-export), so one
"could" replace the `Either` with `Cow` in the case of the commit
message via ignoring the to-owned side of it (but I assume Josh didn't
mean to suggest that).
Anyway, it can be easily configured out from our `alloc`, so I will
send the patch.
Cheers,
Miguel
Powered by blists - more mailing lists