This repository was archived by the owner on May 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -53,8 +53,9 @@ pub fn prebuilt_gcc_config(builder: &Builder<'_>, target: TargetSelection) -> Gc
5353 static STAMP_HASH_MEMO : OnceLock < String > = OnceLock :: new ( ) ;
5454 let smart_stamp_hash = STAMP_HASH_MEMO . get_or_init ( || {
5555 generate_smart_stamp_hash (
56- & builder. config . src . join ( "src/llvm-project" ) ,
57- builder. in_tree_llvm_info . sha ( ) . unwrap_or_default ( ) ,
56+ builder,
57+ & builder. config . src . join ( "src/gcc" ) ,
58+ builder. in_tree_gcc_info . sha ( ) . unwrap_or_default ( ) ,
5859 )
5960 } ) ;
6061
Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ pub struct Build {
139139 miri_info : GitInfo ,
140140 rustfmt_info : GitInfo ,
141141 in_tree_llvm_info : GitInfo ,
142+ in_tree_gcc_info : GitInfo ,
142143 local_rebuild : bool ,
143144 fail_fast : bool ,
144145 doc_tests : DocTests ,
@@ -307,6 +308,7 @@ impl Build {
307308
308309 // we always try to use git for LLVM builds
309310 let in_tree_llvm_info = GitInfo :: new ( false , & src. join ( "src/llvm-project" ) ) ;
311+ let in_tree_gcc_info = GitInfo :: new ( false , & src. join ( "src/gcc" ) ) ;
310312
311313 let initial_target_libdir_str = if config. dry_run ( ) {
312314 "/dummy/lib/path/to/lib/" . to_string ( )
@@ -392,6 +394,7 @@ impl Build {
392394 miri_info,
393395 rustfmt_info,
394396 in_tree_llvm_info,
397+ in_tree_gcc_info,
395398 cc : RefCell :: new ( HashMap :: new ( ) ) ,
396399 cxx : RefCell :: new ( HashMap :: new ( ) ) ,
397400 ar : RefCell :: new ( HashMap :: new ( ) ) ,
You can’t perform that action at this time.
0 commit comments