Skip to content

Commit eb30622

Browse files
committed
rust: proc-macro2: add README.md
Originally, when the Rust upstream `alloc` standard library crate was vendored in commit 057b8d2 ("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. Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 2c93fa5 commit eb30622

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

rust/proc-macro2/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# `proc-macro2`
2+
3+
These source files come from the Rust `proc-macro2` crate, version
4+
1.0.101 (released 2025-08-16), hosted in the
5+
<https://github.com/dtolnay/proc-macro2> repository, licensed under
6+
"Apache-2.0 OR MIT" and only modified to add the SPDX license
7+
identifiers and to remove the `unicode-ident` dependency.
8+
9+
For copyright details, please see:
10+
11+
https://github.com/dtolnay/proc-macro2/blob/1.0.101/README.md#license
12+
https://github.com/dtolnay/proc-macro2/blob/1.0.101/LICENSE-APACHE
13+
https://github.com/dtolnay/proc-macro2/blob/1.0.101/LICENSE-MIT

0 commit comments

Comments
 (0)