From: Boqun Feng <boqun.feng@gmail.com>
To: WANG Rui <wangrui@loongson.cn>
Cc: "Miguel Ojeda" <ojeda@kernel.org>,
"Alex Gaynor" <alex.gaynor@gmail.com>,
"Wedson Almeida Filho" <wedsonaf@gmail.com>,
"Huacai Chen" <chenhuacai@kernel.org>,
"Jonathan Corbet" <corbet@lwn.net>, "Gary Guo" <gary@garyguo.net>,
"Björn Roy Baron" <bjorn3_gh@protonmail.com>,
"Benno Lossin" <benno.lossin@proton.me>,
"Andreas Hindborg" <a.hindborg@samsung.com>,
"Alice Ryhl" <aliceryhl@google.com>,
"WANG Xuerui" <kernel@xen0n.name>,
rust-for-linux@vger.kernel.org, linux-kernel@vger.kernel.org,
loongarch@lists.linux.dev, linux-doc@vger.kernel.org,
loongson-kernel@lists.loongnix.cn
Subject: Re: [PATCH v1 0/2] Rust enablement for LoongArch
Date: Tue, 9 Jan 2024 18:09:32 -0800 [thread overview]
Message-ID: <ZZ38XMQw18mw2sTA@Boquns-Mac-mini.home> (raw)
In-Reply-To: <CAHirt9iox8FGV2wrMyxwFRjab2avfOcyLKvBc9K=AqiHxqHXKg@mail.gmail.com>
On Wed, Jan 10, 2024 at 09:41:38AM +0800, WANG Rui wrote:
> Hi Boqun,
>
> On Wed, Jan 10, 2024 at 3:35 AM Boqun Feng <boqun.feng@gmail.com> wrote:
> >
> > Hi,
> >
> > Thanks for the patch.
> >
> > On Mon, Jan 08, 2024 at 11:21:15AM +0800, WANG Rui wrote:
> > > Enable Rust support for the LoongArch architecture.
> > >
> >
> > Could you share how you build and test? For example, I wonder the clang
> > or gcc version you used and bindgen version you used. Thanks.
>
> You are welcome! The versions I'm using are listed in
> scripts/min-tool-version.sh, and I have tested Rust samples and the
> rnull block driver.
>
> llvm: main branch (ea3c7b3397f8de8e885ea7cd1ed5138ec4a72d50)
This means the LLVM support is yet to release? Or does LLVM 17 also
work?
Regards,
Boqun
> rustc: 1.74.1
> bindgen: 0.65.1
>
> Here are the build steps:
>
> 1. Build llvm
> 2. Install rust, rust-src (using rustup) and bindgen
> 3. Build kernel
>
> For more details, refer to Documentation/rust/quick-start.rst; there
> is nothing special about it.
>
> Regards,
> Rui
>
> >
> > Regards,
> > Boqun
> >
> > > Previous versions:
> > > v0: https://lore.kernel.org/loongarch/20240106065941.180796-1-wangrui@loongson.cn/
> > >
> > > Changes in v1:
> > > - Address htmldocs warning.
> > >
> > > WANG Rui (2):
> > > Documentation: rust: Add a character to the first column
> > > LoongArch: Enable initial Rust support
> > >
> > > Documentation/rust/arch-support.rst | 13 +++++++------
> > > arch/loongarch/Kconfig | 1 +
> > > arch/loongarch/Makefile | 3 +++
> > > scripts/generate_rust_target.rs | 10 ++++++++++
> > > 4 files changed, 21 insertions(+), 6 deletions(-)
> > >
> > > --
> > > 2.43.0
> > >
> >
>
next prev parent reply other threads:[~2024-01-10 2:09 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-08 3:21 WANG Rui
2024-01-08 3:21 ` [PATCH v1 1/2] Documentation: rust: Add a character to the first column WANG Rui
2024-01-08 3:21 ` [PATCH v1 2/2] LoongArch: Enable initial Rust support WANG Rui
2024-01-08 4:23 ` [PATCH v1 0/2] Rust enablement for LoongArch Huacai Chen
2024-01-09 9:54 ` Huacai Chen
2024-01-09 19:33 ` Boqun Feng
2024-01-10 1:41 ` WANG Rui
2024-01-10 2:09 ` Boqun Feng [this message]
2024-01-10 2:29 ` WANG Rui
2024-01-10 10:49 ` Miguel Ojeda
2024-01-11 3:16 ` WANG Rui
2024-01-14 15:43 ` Miguel Ojeda
2024-01-15 3:23 ` Huacai Chen
2024-01-15 16:08 ` Miguel Ojeda
2024-01-16 9:31 ` Huacai Chen
2024-01-16 15:15 ` Miguel Ojeda
2024-01-17 4:34 ` Huacai Chen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZZ38XMQw18mw2sTA@Boquns-Mac-mini.home \
--to=boqun.feng@gmail.com \
--cc=a.hindborg@samsung.com \
--cc=alex.gaynor@gmail.com \
--cc=aliceryhl@google.com \
--cc=benno.lossin@proton.me \
--cc=bjorn3_gh@protonmail.com \
--cc=chenhuacai@kernel.org \
--cc=corbet@lwn.net \
--cc=gary@garyguo.net \
--cc=kernel@xen0n.name \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=loongarch@lists.linux.dev \
--cc=loongson-kernel@lists.loongnix.cn \
--cc=ojeda@kernel.org \
--cc=rust-for-linux@vger.kernel.org \
--cc=wangrui@loongson.cn \
--cc=wedsonaf@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®