Module macros

Source
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.