File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,9 @@ pub struct ConfigInfo {
120
120
pub sysroot_path : String ,
121
121
pub gcc_path : String ,
122
122
config_file : Option < String > ,
123
+ // This is used in particular in rust compiler bootstrap because it doesn't run at the root
124
+ // of the `cg_gcc` folder, making it complicated for us to get access to local files we need
125
+ // like `libgccjit.version` or `config.toml`.
123
126
cg_gcc_path : Option < PathBuf > ,
124
127
// Needed for the `info` command which doesn't want to actually download the lib if needed,
125
128
// just to set the `gcc_path` field to display it.
@@ -526,7 +529,7 @@ impl ConfigInfo {
526
529
--sysroot-panic-abort : Build the sysroot without unwinding support
527
530
--config-file : Location of the config file to be used
528
531
--cg_gcc-path : Location of the rustc_codegen_gcc root folder (used
529
- for accessing any file from the project )"
532
+ when ran from another directory )"
530
533
) ;
531
534
}
532
535
}
You can’t perform that action at this time.
0 commit comments