Re: [PATCH] rust: macros: add `paste!` proc macro

From: Miguel Ojeda
Date: Wed Aug 09 2023 - 17:45:50 EST


On Wed, Jun 28, 2023 at 7:12 PM Gary Guo <gary@xxxxxxxxxxx> wrote:
>
> diff --git a/rust/macros/paste.rs b/rust/macros/paste.rs
> new file mode 100644
> index 000000000000..42fde0930b05
> --- /dev/null
> +++ b/rust/macros/paste.rs
> @@ -0,0 +1,94 @@
> +use proc_macro::{Delimiter, Group, Ident, Spacing, Span, TokenTree};

We need the license identifier to apply this -- is it our usual one?

// SPDX-License-Identifier: GPL-2.0

If so, for the record, could you please confirm it is? Then I will add
it on my side and apply it -- thanks!

Cheers,
Miguel