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
53
53
static STAMP_HASH_MEMO : OnceLock < String > = OnceLock :: new ( ) ;
54
54
let smart_stamp_hash = STAMP_HASH_MEMO . get_or_init ( || {
55
55
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 ( ) ,
58
59
)
59
60
} ) ;
60
61
Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ pub struct Build {
139
139
miri_info : GitInfo ,
140
140
rustfmt_info : GitInfo ,
141
141
in_tree_llvm_info : GitInfo ,
142
+ in_tree_gcc_info : GitInfo ,
142
143
local_rebuild : bool ,
143
144
fail_fast : bool ,
144
145
doc_tests : DocTests ,
@@ -307,6 +308,7 @@ impl Build {
307
308
308
309
// we always try to use git for LLVM builds
309
310
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" ) ) ;
310
312
311
313
let initial_target_libdir_str = if config. dry_run ( ) {
312
314
"/dummy/lib/path/to/lib/" . to_string ( )
@@ -392,6 +394,7 @@ impl Build {
392
394
miri_info,
393
395
rustfmt_info,
394
396
in_tree_llvm_info,
397
+ in_tree_gcc_info,
395
398
cc : RefCell :: new ( HashMap :: new ( ) ) ,
396
399
cxx : RefCell :: new ( HashMap :: new ( ) ) ,
397
400
ar : RefCell :: new ( HashMap :: new ( ) ) ,
You can’t perform that action at this time.
0 commit comments