diff options
author | 2023-04-08 12:25:23 +0000 | |
---|---|---|
committer | 2023-04-12 18:41:05 +0200 | |
commit | 70a21e54a42232f1056db7f05a194f56e03e7d3e (patch) | |
tree | 3391cd0d005c348feeff5c19c1560a85ea6fccef /scripts/gdb/linux/utils.py | |
parent | rust: enable the `pin_macro` feature (diff) | |
download | linux-rng-70a21e54a42232f1056db7f05a194f56e03e7d3e.tar.xz linux-rng-70a21e54a42232f1056db7f05a194f56e03e7d3e.zip |
rust: macros: add `quote!` macro
Add the `quote!` macro for creating `TokenStream`s directly via the
given Rust tokens. It also supports repetitions using iterators.
It will be used by the pin-init API proc-macros to generate code.
Signed-off-by: Gary Guo <gary@garyguo.net>
Signed-off-by: Benno Lossin <benno.lossin@proton.me>
Reviewed-by: Andreas Hindborg <a.hindborg@samsung.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Link: https://lore.kernel.org/r/20230408122429.1103522-3-y86-dev@protonmail.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions