Skip to main content

token_target_features

Attribute Macro token_target_features 

Source
#[token_target_features]
Available on crate feature macros only.
Expand description

Descriptive alias for [rite].

Applies #[target_feature] + #[inline] based on the token type in your function signature. No wrapper, no optimization boundary. Use for functions called from within #[arcane]/#[token_target_features_boundary] code.

Since Rust 1.85, calling a #[target_feature] function from another function with matching features is safe — no unsafe needed.

See [rite] for full documentation and examples.