pub fn inside_cargo() -> bool
Whether the driver is running under cargo flux (which sets FLUX_CARGO=1), as opposed to a direct flux/flux-driver invocation. Used to decide whether to emit the re-run hint.
cargo flux
FLUX_CARGO=1
flux
flux-driver