Re: [PATCH 1/3] rust: alloc: clarify what is the upstream version

From: Benno Lossin
Date: Wed Apr 19 2023 - 04:07:10 EST


On 18.04.23 23:43, Miguel Ojeda wrote:
> It may be unclear for readers which upstream Rust version these files
> are based on. They may be unaware that they are intended to match the
> minimum (and only, so far) supported version of Rust in the kernel.
>
> Thus clarify it.
>
> Signed-off-by: Miguel Ojeda <ojeda@xxxxxxxxxx>

Reviewed-by: Benno Lossin <benno.lossin@xxxxxxxxx>

> ---
> rust/alloc/README.md | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/rust/alloc/README.md b/rust/alloc/README.md
> index c89c753720b5..eb6f22e94ebf 100644
> --- a/rust/alloc/README.md
> +++ b/rust/alloc/README.md
> @@ -10,6 +10,9 @@ upstream. In general, only additions should be performed (e.g. new
> methods). Eventually, changes should make it into upstream so that,
> at some point, this fork can be dropped from the kernel tree.
>
> +The Rust upstream version on top of which these files are based matches
> +the output of `scripts/min-tool-version.sh rustc`.
> +
>
> ## Rationale
>
> --
> 2.40.0
>