Available on crate features
nightly
and unstable
only.Expand description
Provides macros that allow downstream crates to examine the choice of the target kernel.
This module’s macros whose names start with tt_
follows tt-call
’s token
tree calling convention.
Macros§
- kernel
- Expand to the current kernel’s name (e.g.,
"asp3"
). - match_
kernel - Expand to the arm corresponding to the current kernel.
- tt_
is_ kernel - Determine if this crate was compiled for the specified kernel.
- tt_
kernel - Get the kernel selected by a Cargo feature.