pub fn temp_path(&self,
                     flavor: OutputType,
                     codegen_unit_name: Option<&str>)
                     -> PathBuf {
        let extension = match flavor {
            OutputType::Bitcode => "bc",
            OutputType::Assembly => "s",
            OutputType::LlvmAssembly => "ll",
            OutputType::Object => "o",
            OutputType::DepInfo => "d",
            OutputType::Exe => "",
        };

        self.temp_path_ext(extension, codegen_unit_name)
    }
/// Get the path where a compilation artifact of the given type for the
/// given codegen unit should be placed on disk. If codegen_unit_name is
/// None, a path distinct from those of any codegen unit will be generated.
Get the path where a compilation artifact of the given type for the
given codegen unit should be placed on disk. If codegen_unit_name is
None, a path distinct from those of any codegen unit will be generated.
Get the path where a compilation artifact of the given type for the given codegen unit should be placed on disk . If codegen_unit_name is None a path distinct from those of any codegen unit will be generated .
pub fn temp_path(&self,
                     flavor: OutputType,
                     codegen_unit_name: Option<&str>)
                     -> PathBuf {
        let extension = match flavor {
            OutputType::Bitcode => "bc",
            OutputType::Assembly => "s",
            OutputType::LlvmAssembly => "ll",
            OutputType::Object => "o",
            OutputType::DepInfo => "d",
            OutputType::Exe => "",
        };
        self.temp_path_ext(extension, codegen_unit_name)
    }
pub fn temp_path ( & self , flavor : OutputType , codegen_unit_name : Option < & str > ) -> PathBuf { let extension = match flavor { OutputType :: Bitcode => " " , OutputType :: Assembly => " " , OutputType :: LlvmAssembly => " " , OutputType :: Object => " " , OutputType :: DepInfo => " " , OutputType :: Exe => " " , } ; self . temp_path_ext ( extension , codegen_unit_name ) }
Get the path where a compilation artifact of the given type for the
given codegen unit should be placed on disk.
Get the path where a compilation artifact of the given type for the given codegen unit should be placed on disk .
&self
flavor
OutputType
codegen_unit_name
Option<&str>
&self
flavor
OutputType
codegen_unit_name
Option<&str>