@@ -161,6 +161,7 @@ pub struct Config {
161161 pub vendor : bool ,
162162 pub target_config : HashMap < TargetSelection , Target > ,
163163 pub full_bootstrap : bool ,
164+ pub bootstrap_cache_path : Option < PathBuf > ,
164165 pub extended : bool ,
165166 pub tools : Option < HashSet < String > > ,
166167 pub sanitizers : bool ,
@@ -827,6 +828,7 @@ define_config! {
827828 locked_deps: Option <bool > = "locked-deps" ,
828829 vendor: Option <bool > = "vendor" ,
829830 full_bootstrap: Option <bool > = "full-bootstrap" ,
831+ bootstrap_cache_path: Option <PathBuf > = "bootstrap-cache-path" ,
830832 extended: Option <bool > = "extended" ,
831833 tools: Option <HashSet <String >> = "tools" ,
832834 verbose: Option <usize > = "verbose" ,
@@ -1389,6 +1391,7 @@ impl Config {
13891391 locked_deps,
13901392 vendor,
13911393 full_bootstrap,
1394+ bootstrap_cache_path,
13921395 extended,
13931396 tools,
13941397 verbose,
@@ -1477,6 +1480,7 @@ impl Config {
14771480 config. reuse = reuse. map ( PathBuf :: from) ;
14781481 config. submodules = submodules;
14791482 config. android_ndk = android_ndk;
1483+ config. bootstrap_cache_path = bootstrap_cache_path;
14801484 set ( & mut config. low_priority , low_priority) ;
14811485 set ( & mut config. compiler_docs , compiler_docs) ;
14821486 set ( & mut config. library_docs_private_items , library_docs_private_items) ;
0 commit comments