[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <10600492-5f89-4c1b-a8a4-0396af93f264@gmail.com>
Date: Sun, 6 Apr 2025 17:48:49 -0400
From: Manish Shakya <msh.shakya@...il.com>
To: chrisi.schrefl@...il.com
Cc: Jamie.Cunliffe@....com, a.hindborg@...nel.org, alex.gaynor@...il.com,
aliceryhl@...gle.com, andrew@...n.ch, ardb@...nel.org,
benno.lossin@...ton.me, bjorn3_gh@...tonmail.com, boqun.feng@...il.com,
corbet@....net, gary@...yguo.net, guptarud@...il.com,
linux-arm-kernel@...ts.infradead.org, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, linux@...linux.org.uk, ojeda@...nel.org,
rust-for-linux@...r.kernel.org, stappers@...ppers.nl, thesven73@...il.com,
tmgross@...ch.edu
Subject: Re: [PATCH v3] arm: rust: Enable Rust support for ARMv7
I followed the Documentation/rust/testing.rs document to test more. It
seems that only the KUnit test is possible, while the other two tests
are not feasible in a cross-compilation setup. What other tests need to
be performed?
The KUnit test passed.
[ 1.162374] # rust_doctests_kernel: pass:128 fail:0 skip:0 total:128
[ 1.162388] # Totals: pass:128 fail:0 skip:0 total:128
[ 1.162401] ok 1 rust_doctests_kernel
Here is my current setup:
# zcat /proc/config.gz | grep RUST
CONFIG_RUSTC_VERSION=108600
CONFIG_RUST_IS_AVAILABLE=y
CONFIG_RUSTC_LLVM_VERSION=190107
CONFIG_RUST=y
CONFIG_RUSTC_VERSION_TEXT="rustc 1.86.0 (05f9846f8 2025-03-31)"
CONFIG_HAVE_RUST=y
# CONFIG_RUST_FW_LOADER_ABSTRACTIONS is not set
CONFIG_TRUSTED_FOUNDATIONS=y
# CONFIG_BLK_DEV_RUST_NULL is not set
# CONFIG_TRUSTED_KEYS is not set
CONFIG_SYSTEM_TRUSTED_KEYRING=y
CONFIG_SYSTEM_TRUSTED_KEYS=""
# CONFIG_SECONDARY_TRUSTED_KEYRING is not set
CONFIG_SAMPLES_RUST=y
CONFIG_SAMPLE_RUST_MINIMAL=y
CONFIG_SAMPLE_RUST_PRINT=y
CONFIG_SAMPLE_RUST_HOSTPROGS=y
CONFIG_RUST_DEBUG_ASSERTIONS=y
CONFIG_RUST_OVERFLOW_CHECKS=y
# CONFIG_RUST_BUILD_ASSERT_ALLOW is not set
CONFIG_RUST_KERNEL_DOCTESTS=y
# cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 2 (v7l)
BogoMIPS : 298.84
Features : half thumb fastmult vfp edsp thumbee neon vfpv3 tls
vfpd32
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x3
CPU part : 0xc08
CPU revision : 2
Hardware : Generic AM33XX (Flattened Device Tree)
Revision : 0000
Serial : 4014BBBK0948
Powered by blists - more mailing lists