File tree 2 files changed +5
-0
lines changed
2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ struct Build {
126
126
target : Vec < String > ,
127
127
cargo : Option < String > ,
128
128
rustc : Option < String > ,
129
+ prefix : Option < String > ,
129
130
compiler_docs : Option < bool > ,
130
131
docs : Option < bool > ,
131
132
submodules : Option < bool > ,
@@ -238,6 +239,7 @@ impl Config {
238
239
}
239
240
config. rustc = build. rustc . map ( PathBuf :: from) ;
240
241
config. cargo = build. cargo . map ( PathBuf :: from) ;
242
+ config. prefix = build. prefix ;
241
243
config. nodejs = build. nodejs . map ( PathBuf :: from) ;
242
244
config. gdb = build. gdb . map ( PathBuf :: from) ;
243
245
config. python = build. python . map ( PathBuf :: from) ;
Original file line number Diff line number Diff line change 70
70
# specified, use this rustc binary instead as the stage0 snapshot compiler.
71
71
#rustc = "/path/to/bin/rustc"
72
72
73
+ # Instead of installing installing to /usr/local, install to this path instead.
74
+ #prefix = "/path/to/install"
75
+
73
76
# Flag to specify whether any documentation is built. If false, rustdoc and
74
77
# friends will still be compiled but they will not be used to generate any
75
78
# documentation.
You can’t perform that action at this time.
0 commit comments