[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <smaafae5mqjcxm65rddnsayhsvwb6kd2joj3mfghskmtzspwzc@d5wg2its6jac>
Date: Tue, 30 Jul 2024 15:33:01 -0700
From: Gatlin Newhouse <gatlin.newhouse@...il.com>
To: Gary Guo <gary@...yguo.net>
Cc: Alice Ryhl <aliceryhl@...gle.com>, Miguel Ojeda <ojeda@...nel.org>,
Alex Gaynor <alex.gaynor@...il.com>, Wedson Almeida Filho <wedsonaf@...il.com>,
Boqun Feng <boqun.feng@...il.com>, Björn Roy Baron <bjorn3_gh@...tonmail.com>,
Benno Lossin <benno.lossin@...ton.me>, Andreas Hindborg <a.hindborg@...sung.com>,
Matthew Maurer <mmaurer@...gle.com>, rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] rust: support arrays in target JSON
On Tue, Jul 30, 2024 at 10:56:46AM UTC, Gary Guo wrote:
> On Tue, 30 Jul 2024 09:26:24 +0000
> Alice Ryhl <aliceryhl@...gle.com> wrote:
>
> > From: Matthew Maurer <mmaurer@...gle.com>
> >
> > Some configuration options such as the supported sanitizer list are
> > arrays. To support using Rust with sanitizers on x86, we must update the
> > target.json generator to support this case.
> >
> > The Push trait is removed in favor of the From trait because the Push
> > trait doesn't work well in the nested case where you are not really
> > pushing values to a TargetSpec.
> >
> > Signed-off-by: Matthew Maurer <mmaurer@...gle.com>
> > Signed-off-by: Alice Ryhl <aliceryhl@...gle.com>
>
> Reviewed-by: Gary Guo <gary@...yguo.net>
Tested-by: Gatlin Newhouse <gatlin.newhouse@...il.com>
> > ---
> > scripts/generate_rust_target.rs | 82 +++++++++++++++++++++------------
> > 1 file changed, 53 insertions(+), 29 deletions(-)
Powered by blists - more mailing lists