Macro itron_solid_fmp3::macros::kernel[][src]

pub macro kernel() {
    ...
}
This is supported on crate features nightly and unstable only.
Expand description

Expand to the current kernel’s name (e.g., "asp3").

Examples

println!("We are running on {}", itron::macros::kernel!());
compile_error!(concat!("kernel `", itron::macros::kernel!(), "` is not supported"));