Subject: Re: linux-next: build failure after merge of the tip tree

From: Stephen Rothwell <[email-masked]>
Date: Tue, 25 Nov 2025 01:03:51 +1100

Hi Peter,

On Mon, 24 Nov 2025 13:32:49 +0100 Peter Zijlstra <[email-masked]> wrote:
>
> Rust :/
> 
> So I have:
> 
> $ make O=tmp-build LLVM=-22 allmodconfig
> $ make O=tmp-build LLVM=-22 rustavailable
> Rust is available!
> $ grep -e CONFIG_RUST= -e CONFIG_NOVA= tmp-build/.config
> $
> 
> Help ?!?

Have you read Documentation/rust/quick-start.rst?  I am using Debian
Stable and have the necessary stuff installed and a "make allmodconfig"
is sufficient.  Fedora 42 or 43 should also be fine.

$ grep -e CONFIG_RUST= -e CONFIG_NOVA= .config
CONFIG_RUST=y
$ grep -e CONFIG_RUST= -e CONFIG_NOVA_CORE= .config
CONFIG_RUST=y
CONFIG_NOVA_CORE=m
$ grep -e CONFIG_RUST .configCONFIG_RUSTC_VERSION=108500
CONFIG_RUST_IS_AVAILABLE=y
CONFIG_RUSTC_LLVM_VERSION=190107
CONFIG_RUSTC_HAS_SLICE_AS_FLATTENED=y
CONFIG_RUSTC_HAS_COERCE_POINTEE=y
CONFIG_RUST=y
CONFIG_RUSTC_VERSION_TEXT="rustc 1.85.0 (4d91de4e4 2025-02-17) (built from a source tarball)"
CONFIG_RUST_FW_LOADER_ABSTRACTIONS=y
CONFIG_RUST_PWM_ABSTRACTIONS=y
CONFIG_RUST_BITMAP_HARDENED=y
CONFIG_RUST_DEBUG_ASSERTIONS=y
CONFIG_RUST_OVERFLOW_CHECKS=y
CONFIG_RUST_BUILD_ASSERT_ALLOW=y

-- 
Cheers,
Stephen Rothwell