pub const KTSTR_PRODUCTION_LOCK_DIR_ENV: &str = "KTSTR_PRODUCTION_LOCK_DIR";Expand description
Name of the environment variable cargo-ktstr stamps onto every
nextest run command with the lock/registry directory it resolved
in the parent process. Test processes (and their children) inherit
it; the misclassification guard in crate::vmm::host_topology
consumes it as a sealed reference — the “namespace the real
scheduler is using this run” — so a host-tests-classified test is
aborted only when it resolves THIS exact dir, not when it redirected
its locks into an isolated temp namespace (which legitimately runs
in host-tests). Absent (e.g. an ad-hoc cargo nextest run not
launched by cargo-ktstr) disarms the guard entirely.