diff options
| author | Gary Guo <gary@garyguo.net> | 2026-01-12 17:07:14 +0000 |
|---|---|---|
| committer | Miguel Ojeda <ojeda@kernel.org> | 2026-01-28 00:55:24 +0100 |
| commit | 5f160950a5cdc36f222299905e09a72f67ebfcd4 (patch) | |
| tree | f5e5f0aa0103cc298cdb3c53eb44286ccd78ea4b /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | f637bafe1ff15fa356c1e0576c32f077b9e6e46a (diff) | |
rust: macros: convert `#[vtable]` macro to use `syn`
`#[vtable]` is converted to use syn. This is more robust than the
previous heuristic-based searching of defined methods and functions.
When doing so, the trait and impl are split into two code paths as the
types are distinct when parsed by `syn`.
Reviewed-by: Tamir Duberstein <tamird@gmail.com>
Signed-off-by: Gary Guo <gary@garyguo.net>
Reviewed-by: Benno Lossin <lossin@kernel.org>
Link: https://patch.msgid.link/20260112170919.1888584-4-gary@kernel.org
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
