Re: [PATCH V17 4/7] rust/powerpc: Set min rustc version for powerpc

Link Mauve <[email protected]>
Newsgroups dev.linux.lists.llvm,org.kernel.vger.linux-kernel,org.kernel.vger.rust-for-linux,org.ozlabs.lists.linuxppc-dev
Message-ID <ak4MwnDwIgdUhK3K@luna>
Hi,

On Wed, Jul 08, 2026 at 01:54:51PM +0530, Mukesh Kumar Chaurasiya (IBM) wrote:
> Minimum `rustc` version required for powerpc is 1.95 as some critical
> features required for compiling rust code for kernel are not there.
> 
> For example Stable inline asm support which got merged in 1.95.

Didn’t we decide on 1.85.0 with the asm_experimental_arch feature
instead?  And possibly on 64-bit 1.87.0 if it isn’t possible to disable
altivec correctly there?

> 
> Link: https://github.com/rust-lang/rust/pull/147996
> Signed-off-by: Mukesh Kumar Chaurasiya (IBM) <[email protected]>
> ---
>  scripts/min-tool-version.sh | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/scripts/min-tool-version.sh b/scripts/min-tool-version.sh
> index 031f2192b390..99bfdcaa3396 100755
> --- a/scripts/min-tool-version.sh
> +++ b/scripts/min-tool-version.sh
> @@ -33,6 +33,8 @@ llvm)
>  rustc)
>  	if [ "$SRCARCH" = "s390" ]; then
>  		echo 1.96.0
> +	elif [ "$ARCH" = powerpc ]; then
> +		echo 1.95.0
>  	else
>  		echo 1.85.0
>  	fi
> -- 
> 2.55.0
> 
> 

-- 
Link Mauve
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.