fn llvm_filecheck(&self, target: &str) -> PathBuf {
        let target_config = self.config.target_config.get(target);
        if let Some(s) = target_config.and_then(|c| c.llvm_config.as_ref()) {
            let llvm_bindir = output(Command::new(s).arg("--bindir"));
            Path::new(llvm_bindir.trim()).join(exe("FileCheck", target))
        } else {
            let base = self.llvm_out(&self.config.build).join("build");
            let exe = exe("FileCheck", target);
            if self.config.build.contains("msvc") {
                base.join("Release/bin").join(exe)
            } else {
                base.join("bin").join(exe)
            }
        }
    }
/// Returns the path to `FileCheck` binary for the specified target
Returns the path to `FileCheck` binary for the specified target
Returns the path to ` FileCheck ` binary for the specified target
fn llvm_filecheck(&self, target: &str) -> PathBuf {
        let target_config = self.config.target_config.get(target);
        if let Some(s) = target_config.and_then(|c| c.llvm_config.as_ref()) {
            let llvm_bindir = output(Command::new(s).arg("--bindir"));
            Path::new(llvm_bindir.trim()).join(exe("FileCheck", target))
        } else {
            let base = self.llvm_out(&self.config.build).join("build");
            let exe = exe("FileCheck", target);
            if self.config.build.contains("msvc") {
                base.join("Release/bin").join(exe)
            } else {
                base.join("bin").join(exe)
            }
        }
    }
fn llvm_filecheck ( & self , target : & str ) -> PathBuf { let target_config = self . config . target_config . get ( target ) ; if let Some ( s ) = target_config . and_then ( | c | c . llvm_config . as_ref ( ) ) { let llvm_bindir = output ( Command :: new ( s ) . arg ( " " ) ) ; Path :: new ( llvm_bindir . trim ( ) ) . join ( exe ( " " , target ) ) } else { let base = self . llvm_out ( & self . config . build ) . join ( " " ) ; let exe = exe ( " " , target ) ; if self . config . build . contains ( " " ) { base . join ( " " ) . join ( exe ) } else { base . join ( " " ) . join ( exe ) } } }
Returns the path to `FileCheck` binary for the specified target
Returns the path to ` FileCheck ` binary for the specified target
&self
target
&str