This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ impl Environment for LinuxEnvironment {
1414 Utf8PathBuf :: from ( "/checkout" )
1515 }
1616
17- fn downloaded_llvm_dir ( & self ) -> Utf8PathBuf {
17+ fn host_llvm_dir ( & self ) -> Utf8PathBuf {
1818 Utf8PathBuf :: from ( "/rustroot" )
1919 }
2020
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ pub trait Environment {
1515 /// The rustc checkout, where the compiler source is located.
1616 fn checkout_path ( & self ) -> Utf8PathBuf ;
1717
18- /// Path to the downloaded host LLVM.
19- fn downloaded_llvm_dir ( & self ) -> Utf8PathBuf ;
18+ /// Path to the host LLVM used to compile LLVM in `src/llvm-project` .
19+ fn host_llvm_dir ( & self ) -> Utf8PathBuf ;
2020
2121 /// Directory where the optimization artifacts (PGO/BOLT profiles, etc.)
2222 /// will be stored.
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ impl Environment for WindowsEnvironment {
2424 self . checkout_dir . clone ( )
2525 }
2626
27- fn downloaded_llvm_dir ( & self ) -> Utf8PathBuf {
27+ fn host_llvm_dir ( & self ) -> Utf8PathBuf {
2828 self . checkout_path ( ) . join ( "citools" ) . join ( "clang-rust" )
2929 }
3030
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ fn merge_llvm_profiles(
8181 profdata : LlvmProfdata ,
8282) -> anyhow:: Result < ( ) > {
8383 let llvm_profdata = match profdata {
84- LlvmProfdata :: Host => env. downloaded_llvm_dir ( ) . join ( "bin/llvm-profdata" ) ,
84+ LlvmProfdata :: Host => env. host_llvm_dir ( ) . join ( "bin/llvm-profdata" ) ,
8585 LlvmProfdata :: Target => env
8686 . build_artifacts ( )
8787 . join ( "llvm" )
You can’t perform that action at this time.
0 commit comments