fn rustc_flags(&self, target: &str) -> Vec<String> {
        // New flags should be added here with great caution!
        //
        // It's quite unfortunate to **require** flags to generate code for a
        // target, so it should only be passed here if absolutely necessary!
        // Most default configuration should be done through target specs rather
        // than an entry here.

        let mut base = Vec::new();
        if target != self.config.build && !target.contains("msvc") {
            base.push(format!("-Clinker={}", self.cc(target).display()));
        }
        return base
    }
/// Returns flags to pass to the compiler to generate code for `target`.
Returns flags to pass to the compiler to generate code for `target`.
Returns flags to pass to the compiler to generate code for ` target ` .
fn rustc_flags(&self, target: &str) -> Vec<String> {
        // New flags should be added here with great caution!
        //
        // It's quite unfortunate to **require** flags to generate code for a
        // target, so it should only be passed here if absolutely necessary!
        // Most default configuration should be done through target specs rather
        // than an entry here.
        let mut base = Vec::new();
        if target != self.config.build && !target.contains("msvc") {
            base.push(format!("-Clinker={}", self.cc(target).display()));
        }
        return base
    }
fn rustc_flags ( & self , target : & str ) -> Vec < String > { // New flags should be added here with great caution! // // It's quite unfortunate to **require** flags to generate code for a // target, so it should only be passed here if absolutely necessary! // Most default configuration should be done through target specs rather // than an entry here. let mut base = Vec :: new ( ) ; if target != self . config . build && ! target . contains ( " " ) { base . push ( format ! ( " " self cc ( target ) display ( ) ) ) ; } return base }
Returns flags to pass to the compiler to generate code for `target`.
Returns flags to pass to the compiler to generate code for ` target ` .
&self
target
&str
&self
target
&str