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 @@ -142,6 +142,7 @@ pub struct Build {
142142 miri_info : GitInfo ,
143143 rustfmt_info : GitInfo ,
144144 in_tree_llvm_info : GitInfo ,
145+ in_tree_gcc_info : GitInfo ,
145146 local_rebuild : bool ,
146147 fail_fast : bool ,
147148 doc_tests : DocTests ,
@@ -311,6 +312,7 @@ impl Build {
311312
312313 // we always try to use git for LLVM builds
313314 let in_tree_llvm_info = GitInfo :: new ( false , & src. join ( "src/llvm-project" ) ) ;
315+ let in_tree_gcc_info = GitInfo :: new ( false , & src. join ( "src/gcc" ) ) ;
314316
315317 let initial_target_libdir_str = if config. dry_run ( ) {
316318 "/dummy/lib/path/to/lib/" . to_string ( )
@@ -396,6 +398,7 @@ impl Build {
396398 miri_info,
397399 rustfmt_info,
398400 in_tree_llvm_info,
401+ in_tree_gcc_info,
399402 cc : RefCell :: new ( HashMap :: new ( ) ) ,
400403 cxx : RefCell :: new ( HashMap :: new ( ) ) ,
401404 ar : RefCell :: new ( HashMap :: new ( ) ) ,
You can’t perform that action at this time.
0 commit comments