lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZZ38XMQw18mw2sTA@Boquns-Mac-mini.home>
Date: Tue, 9 Jan 2024 18:09:32 -0800
From: Boqun Feng <boqun.feng@...il.com>
To: WANG Rui <wangrui@...ngson.cn>
Cc: Miguel Ojeda <ojeda@...nel.org>, Alex Gaynor <alex.gaynor@...il.com>,
	Wedson Almeida Filho <wedsonaf@...il.com>,
	Huacai Chen <chenhuacai@...nel.org>,
	Jonathan Corbet <corbet@....net>, 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>, WANG Xuerui <kernel@...0n.name>,
	rust-for-linux@...r.kernel.org, linux-kernel@...r.kernel.org,
	loongarch@...ts.linux.dev, linux-doc@...r.kernel.org,
	loongson-kernel@...ts.loongnix.cn
Subject: Re: [PATCH v1 0/2] Rust enablement for LoongArch

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@...il.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
> > >
> >
> 

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ