1use crate::command::Command; 2use crate::env_var; 3 4/// Returns a command that can be used to invoke cargo. The cargo is provided by compiletest 5/// through the `CARGO` env var. 6pub fn cargo() -> Command { 7 Command::new(env_var("CARGO")) 8}