diff options
| author | 2026-01-16 11:54:17 +0100 | |
|---|---|---|
| committer | 2026-01-17 10:49:31 +0100 | |
| commit | 901f1d73d2c68017065212d75ffbfbffa119921e (patch) | |
| tree | 36847bb1ff0d35595cb38b22429f5cdbeefd5465 /scripts/Makefile.thinlto | |
| parent | rust: pin-init: remove `try_` versions of the initializer macros (diff) | |
rust: pin-init: allow the crate to refer to itself as `pin-init` in doc tests
The `syn` approach requires use of `::pin_init::...` instead of the
`$crate::...` construct available to declarative macros. To be able to
use the `pin_init` crate from itself (which includes doc tests), we have
to declare it as such.
Reviewed-by: Gary Guo <gary@garyguo.net>
Tested-by: Andreas Hindborg <a.hindborg@kernel.org>
Signed-off-by: Benno Lossin <lossin@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
