//! Cross-crate scheduler tracepoint hook.
//!
//! Builds that enable `tracepoint-hooks` without a matching
//! `#[ax_crate_interface::impl_interface]` implementor will fail at link.
/// `prev_state` is the [`crate::task::TaskState`] discriminant; implementors
/// decode without depending on the enum.