[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANiq72ktwWOEBFB=y7xun-CDurwsSRe2_PE6RqGS4OhEyPGFkQ@mail.gmail.com>
Date: Fri, 7 Mar 2025 14:53:30 +0100
From: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
To: Alice Ryhl <aliceryhl@...gle.com>
Cc: Oliver Mangold <oliver.mangold@...me>, Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>, Boqun Feng <boqun.feng@...il.com>,
Gary Guo <gary@...yguo.net>, Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <benno.lossin@...ton.me>, Andreas Hindborg <a.hindborg@...nel.org>,
Trevor Gross <tmgross@...ch.edu>, Asahi Lina <lina@...hilina.net>, rust-for-linux@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v5 4/4] rust: adding OwnableRefCounted and SimpleOwnableRefCounted
On Fri, Mar 7, 2025 at 2:28 PM Alice Ryhl <aliceryhl@...gle.com> wrote:
>
> It's only a warning on older compilers. We could just add this in
> lib.rs:
>
> #![allow(unknown_or_malformed_diagnostic_attributes)]
That is OK too, though we would lose the check for typos until we
upgrade the minimum.
Hmm... Since we have nowadays the way to create those conditions
easily, I think it is fine to do it conditionally.
Cheers,
Miguel
Powered by blists - more mailing lists