fn env_vars(&self) -> Vec<String> {
        const RUSTFLAGS: &str = "-C target-feature=+crt-static";

        let mut env_vars = self.package_metadata.env.clone();

        // If there's a RUSTFLAGS env in here, combine it with the RUSTFLAGS we always add
        if let Some(var) = env_vars.iter_mut().find(|v| v.starts_with("RUSTFLAGS=")) {
            *var = format!("{} {}", var, RUSTFLAGS);
        } else {
            env_vars.push(format!("RUSTFLAGS={}", RUSTFLAGS));
        }

        env_vars
    }
/// Get the env vars for this test
///
/// Each env var is a string with a name and an optional value:
///  `NAME[=VALUE]`
///
/// This comes from the package metadata
Get the env vars for this test
Each env var is a string with a name and an optional value:
`NAME[=VALUE]`

This comes from the package metadata
Get the env vars for this test Each env var is a string with a name and an optional value : ` NAME [ = VALUE ] ` This comes from the package metadata
fn env_vars(&self) -> Vec<String> {
        const RUSTFLAGS: &str = "-C target-feature=+crt-static";
        let mut env_vars = self.package_metadata.env.clone();
        // If there's a RUSTFLAGS env in here, combine it with the RUSTFLAGS we always add
        if let Some(var) = env_vars.iter_mut().find(|v| v.starts_with("RUSTFLAGS=")) {
            *var = format!("{} {}", var, RUSTFLAGS);
        } else {
            env_vars.push(format!("RUSTFLAGS={}", RUSTFLAGS));
        }
        env_vars
    }
fn env_vars ( & self ) -> Vec < String > { const RUSTFLAGS : & str = " " ; let mut env_vars = self . package_metadata . env . clone ( ) ; // If there's a RUSTFLAGS env in here, combine it with the RUSTFLAGS we always add if let Some ( var ) = env_vars . iter_mut ( ) . find ( | v | v . starts_with ( " " ) ) { * var = format ! ( " " var RUSTFLAGS ) ; } else { env_vars . push ( format ! ( " " RUSTFLAGS ) ) ; } env_vars }
Get the env vars for this test
Each env var is a string with a name and an optional value:
`NAME[=VALUE]`
Get the env vars for this test Each env var is a string with a name and an optional value : ` NAME [ = VALUE ] `
&self
&self