fn as_cmd(&'a self) -> Vec<String> {
        // Add features for build
        let kernel_features = String::from(self.kernel_features.join(","));
        let user_features = String::from(self.user_features.join(","));

        let mut cmd = vec![
            "run.py".to_string(),
            //"--norun".to_string(),
        ];

        if !self.kernel_features.is_empty() {
            cmd.push("--kfeatures".to_string());
            cmd.push(kernel_features);
        }

        if !self.user_features.is_empty() {
            cmd.push("--ufeatures".to_string());
            cmd.push(user_features);
        }

        if !self.mods.is_empty() {
            cmd.push("--mods".to_string());
            cmd.push(self.mods.join(" "));
        }

        if self.release {
            cmd.push("--release".to_string());
        }

        cmd
    }
/// Converts the RunnerArgs to a run.py command line invocation.
Converts the RunnerArgs to a run.py command line invocation.
Converts the RunnerArgs to a run . py command line invocation .
fn as_cmd(&'a self) -> Vec<String> {
        // Add features for build
        let kernel_features = String::from(self.kernel_features.join(","));
        let user_features = String::from(self.user_features.join(","));
        let mut cmd = vec![
            "run.py".to_string(),
            //"--norun".to_string(),
        ];
        if !self.kernel_features.is_empty() {
            cmd.push("--kfeatures".to_string());
            cmd.push(kernel_features);
        }
        if !self.user_features.is_empty() {
            cmd.push("--ufeatures".to_string());
            cmd.push(user_features);
        }
        if !self.mods.is_empty() {
            cmd.push("--mods".to_string());
            cmd.push(self.mods.join(" "));
        }
        if self.release {
            cmd.push("--release".to_string());
        }
        cmd
    }
fn as_cmd ( & ' a self ) -> Vec < String > { // Add features for build let kernel_features = String :: from ( self . kernel_features . join ( " " ) ) ; let user_features = String :: from ( self . user_features . join ( " " ) ) ; let mut cmd = vec ! [ " " to_string ( ) //"--norun".to_string(), ] ; if ! self . kernel_features . is_empty ( ) { cmd . push ( " " . to_string ( ) ) ; cmd . push ( kernel_features ) ; } if ! self . user_features . is_empty ( ) { cmd . push ( " " . to_string ( ) ) ; cmd . push ( user_features ) ; } if ! self . mods . is_empty ( ) { cmd . push ( " " . to_string ( ) ) ; cmd . push ( self . mods . join ( " " ) ) ; } if self . release { cmd . push ( " " . to_string ( ) ) ; } cmd }
Converts the RunnerArgs to a run.py command line invocation.
Converts the RunnerArgs to a run . py command line invocation .
&'a self
&'a self