[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4262dee7-b6fb-449c-9de8-7d6404912338@nvidia.com>
Date: Wed, 19 Jun 2024 23:12:52 -0700
From: John Hubbard <jhubbard@...dia.com>
To: Miguel Ojeda <miguel.ojeda.sandonis@...il.com>
Cc: Miguel Ojeda <ojeda@...nel.org>, Masahiro Yamada <masahiroy@...nel.org>,
Nathan Chancellor <nathan@...nel.org>, Nicolas Schier <nicolas@...sle.eu>,
Alex Gaynor <alex.gaynor@...il.com>,
Wedson Almeida Filho <wedsonaf@...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@...sung.com>, Alice Ryhl
<aliceryhl@...gle.com>, linux-kbuild@...r.kernel.org,
rust-for-linux@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Makefile: rust-analyzer target: better error handling and
comments
On 6/19/24 5:25 AM, Miguel Ojeda wrote:
> On Sat, Jun 1, 2024 at 2:49 AM John Hubbard <jhubbard@...dia.com> wrote:
>>
>> Rust is not available
>
> Maybe we should use the `***` notation that is used elsewhere?
What exactly did you have in mind for how that should look? The
"make rustavailable" target has some leading *** and some bare
statements, so I'm not quite sure exactly how to lay it out:
$ make rustavailable
***
*** Rust bindings generator 'bindgen' is too new. This may or may not work.
*** Your version: 0.69.4
*** Expected version: 0.65.1
***
***
*** Please see Documentation/rust/quick-start.rst for details
*** on how to set up the Rust support.
***
Rust is available!
>
>> 2) As long as I'm there, also add some documentation about what
>> rust-analyzer provides.
>
> Perhaps this could go in a separate patch.
Sure, I'll split it out if you all prefer.
>
> But those are nits -- if Masahiro is OK with this approach:
>
> Acked-by: Miguel Ojeda <ojeda@...nel.org>
>
> Happy to take it too.
>
> Cheers,
> Miguel
thanks,
--
John Hubbard
NVIDIA
Powered by blists - more mailing lists