summaryrefslogtreecommitdiff
path: root/rust
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2023-04-18 23:43:45 +0200
committerMiguel Ojeda <ojeda@kernel.org>2023-05-31 16:12:06 +0200
commitf438c1dd9ec2687b9d1e72e36cc44318634671a0 (patch)
treeeae4625a5bd87ab14c561267c9fa2e557f9588dd /rust
parent7877cb91f1081754a1487c144d85dc0d2e2e7fc4 (diff)
downloadlwn-f438c1dd9ec2687b9d1e72e36cc44318634671a0.tar.gz
lwn-f438c1dd9ec2687b9d1e72e36cc44318634671a0.zip
rust: alloc: clarify what is the upstream version
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. Reviewed-by: Benno Lossin <benno.lossin@proton.me> Reviewed-by: Björn Roy Baron <bjorn3_gh@protonmail.com> Reviewed-by: Gary Guo <gary@garyguo.net> Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com> Tested-by: Ariel Miculas <amiculas@cisco.com> Tested-by: David Gow <davidgow@google.com> Tested-by: Boqun Feng <boqun.feng@gmail.com> Link: https://lore.kernel.org/r/20230418214347.324156-2-ojeda@kernel.org Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust')
-rw-r--r--rust/alloc/README.md3
1 files changed, 3 insertions, 0 deletions
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