// Dual-mode build (stable ⇄ nightly): the `chan_vec_to_std` handoff (and any
// future channel-divergent code) is `#[cfg(bao_nightly)]`-gated; the channel
// is detected from the compiler version string (nightlies carry "-nightly").
// Same probe as bun_alloc / crash_handler / dotenv (W4 house template).
use env;
use Command;