fn dylib(&self, kind: Kind) -> CargoResult<(&str, &str)> {
        let (triple, pair) = if kind == Kind::Host {
            (&self.config.rustc_info().host, &self.host_dylib)
        } else {
            (&self.target_triple, &self.target_dylib)
        };
        match *pair {
            None => bail!("dylib outputs are not supported for {}", triple),
            Some((ref s1, ref s2)) => Ok((s1, s2)),
        }
    }
/// Return the (prefix, suffix) pair for dynamic libraries.
///
/// If `plugin` is true, the pair corresponds to the host platform,
/// otherwise it corresponds to the target platform.
Return the (prefix, suffix) pair for dynamic libraries.
If `plugin` is true, the pair corresponds to the host platform,
otherwise it corresponds to the target platform.
Return the ( prefix suffix ) pair for dynamic libraries . If ` plugin ` is true the pair corresponds to the host platform otherwise it corresponds to the target platform .
fn dylib(&self, kind: Kind) -> CargoResult<(&str, &str)> {
        let (triple, pair) = if kind == Kind::Host {
            (&self.config.rustc_info().host, &self.host_dylib)
        } else {
            (&self.target_triple, &self.target_dylib)
        };
        match *pair {
            None => bail!("dylib outputs are not supported for {}", triple),
            Some((ref s1, ref s2)) => Ok((s1, s2)),
        }
    }
fn dylib ( & self , kind : Kind ) -> CargoResult < ( & str , & str ) > { let ( triple , pair ) = if kind == Kind :: Host { ( & self . config . rustc_info ( ) . host , & self . host_dylib ) } else { ( & self . target_triple , & self . target_dylib ) } ; match * pair { None => bail ! ( " " triple ) , Some ( ( ref s1 , ref s2 ) ) => Ok ( ( s1 , s2 ) ) , } }
Return the (prefix, suffix) pair for dynamic libraries.
Return the ( prefix suffix ) pair for dynamic libraries .
&self
kind
Kind
&self
kind
Kind