#[cfg(all(not(target_os = "vexos"), feature = "vex-sdk-mock"))]
use vex_sdk_mock as _;
#[allow(dead_code)]
const _: () = {
if (cfg!(feature = "vex-sdk-jumptable") as usize)
+ (cfg!(feature = "vex-sdk-vexcode") as usize)
+ (cfg!(feature = "vex-sdk-pros") as usize)
> 1
{
panic!("Only one `vex-sdk` backend may be used at a time.");
}
};
#[cfg(all(
any(
feature = "vex-sdk-jumptable",
feature = "vex-sdk-vexcode",
feature = "vex-sdk-pros"
),
not(target_os = "vexos"),
not(feature = "vex-sdk-mock")
))]
compile_error!(
"The specified `vex-sdk` backend is unsupported on this target. Consider enabling the `vex-sdk-mock` feature for a stubbed SDK backend."
);
#[cfg(all(target_os = "vexos", feature = "vex-sdk-jumptable"))]
use vex_sdk_jumptable as _;
#[cfg(all(target_os = "vexos", feature = "vex-sdk-pros"))]
use vex_sdk_pros as _;