Skip to main content

EXEC_BACKEND

Constant EXEC_BACKEND 

Source
pub const EXEC_BACKEND: bool = false;
Expand description

Which runtime::task backend this build selected — true for the reactor-free std-thread runtime::background executor, false for tokio.

The predicate is computed once, in this crate’s build.rs, from the target OS and the rtems-exec-model feature. A crate above that derives the same cfg from its own build.rs (epics-base-rs does, for server::scan) can pin the two together with a const _: () = assert!(...), so a feature forward that stops being wired fails to compile instead of splitting the workspace across two backends.