Re: [PATCH 06/13] rust: start supporting several compiler versions
From: Andreas Hindborg
Date: Wed Jul 03 2024 - 13:21:12 EST
Miguel Ojeda <ojeda@xxxxxxxxxx> writes:
[...]
> diff --git a/scripts/rust_is_available.sh b/scripts/rust_is_available.sh
> index 117018946b57..67cb900124cc 100755
> --- a/scripts/rust_is_available.sh
> +++ b/scripts/rust_is_available.sh
> @@ -117,14 +117,6 @@ if [ "$rust_compiler_cversion" -lt "$rust_compiler_min_cversion" ]; then
> echo >&2 "***"
> exit 1
> fi
> -if [ "$rust_compiler_cversion" -gt "$rust_compiler_min_cversion" ]; then
> - echo >&2 "***"
> - echo >&2 "*** Rust compiler '$RUSTC' is too new. This may or may not work."
> - echo >&2 "*** Your version: $rust_compiler_version"
> - echo >&2 "*** Expected version: $rust_compiler_min_version"
> - echo >&2 "***"
> - warning=1
> -fi
This does not set a max version. Will older versions of the kernel
always compile with newer releases of `rustc`?
Best regards,
Andreas