summaryrefslogtreecommitdiff
path: root/rust/proc-macro2
diff options
context:
space:
mode:
authorMiguel Ojeda <ojeda@kernel.org>2025-11-24 16:18:21 +0100
committerMiguel Ojeda <ojeda@kernel.org>2025-11-24 17:15:40 +0100
commitbc1565efc358553d7be23a09fe012560402b7151 (patch)
tree7d93456192778c84ee12f91359a9bc1830a325eb /rust/proc-macro2
parentc2af0e5f02b9aebfc53987c6e935d266101f0ce9 (diff)
rust: proc-macro2: add `README.md`
Originally, when the Rust upstream `alloc` standard library crate was vendored in commit 057b8d257107 ("rust: adapt `alloc` crate to the kernel"), a `README.md` file was added to explain the provenance and licensing of the source files. Thus do the same for the `proc-macro2` crate. Reviewed-by: Alice Ryhl <aliceryhl@google.com> Reviewed-by: Gary Guo <gary@garyguo.net> Tested-by: Gary Guo <gary@garyguo.net> Tested-by: Jesung Yang <y.j3ms.n@gmail.com> Link: https://patch.msgid.link/20251124151837.2184382-10-ojeda@kernel.org Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'rust/proc-macro2')
-rw-r--r--rust/proc-macro2/README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/rust/proc-macro2/README.md b/rust/proc-macro2/README.md
new file mode 100644
index 000000000000..af044fee4f59
--- /dev/null
+++ b/rust/proc-macro2/README.md
@@ -0,0 +1,13 @@
+# `proc-macro2`
+
+These source files come from the Rust `proc-macro2` crate, version
+1.0.101 (released 2025-08-16), hosted in the
+<https://github.com/dtolnay/proc-macro2> repository, licensed under
+"Apache-2.0 OR MIT" and only modified to add the SPDX license
+identifiers and to remove the `unicode-ident` dependency.
+
+For copyright details, please see:
+
+ https://github.com/dtolnay/proc-macro2/blob/1.0.101/README.md#license
+ https://github.com/dtolnay/proc-macro2/blob/1.0.101/LICENSE-APACHE
+ https://github.com/dtolnay/proc-macro2/blob/1.0.101/LICENSE-MIT