KTSTR_SCHEDULER_ENV

Constant KTSTR_SCHEDULER_ENV 

Source
pub const KTSTR_SCHEDULER_ENV: &str = "KTSTR_SCHEDULER";
Expand description

Name of the environment variable that overrides the scheduler binary path test_support::eval uses for in-process scheduler dispatch. Read at crate::test_support::eval. This is a COARSE (global) override: it applies to EVERY SchedulerSpec::Discover scheduler regardless of name, so a test declaring multiple distinct schedulers points them all at the same binary through it.

Resolution precedence: this global var is checked first — before the cargo-test-mode $PATH lookup and the on-demand workspace build; if it does not resolve, resolution falls through to the build.