File tree 4 files changed +8
-2
lines changed
4 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 481
481
# as the one built on Windows will contain backslashes in paths causing problems
482
482
# on linux
483
483
#src-tarball = true
484
+ #
485
+
486
+ # Whether to allow failures when building tools
487
+ #missing-tools = false
Original file line number Diff line number Diff line change @@ -272,6 +272,7 @@ struct Dist {
272
272
gpg_password_file : Option < String > ,
273
273
upload_addr : Option < String > ,
274
274
src_tarball : Option < bool > ,
275
+ missing_tools : Option < bool > ,
275
276
}
276
277
277
278
#[ derive( Deserialize ) ]
@@ -615,6 +616,7 @@ impl Config {
615
616
config. dist_gpg_password_file = t. gpg_password_file . clone ( ) . map ( PathBuf :: from) ;
616
617
config. dist_upload_addr = t. upload_addr . clone ( ) ;
617
618
set ( & mut config. rust_dist_src , t. src_tarball ) ;
619
+ set ( & mut config. missing_tools , t. missing_tools ) ;
618
620
}
619
621
620
622
// Now that we've reached the end of our configuration, infer the
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ def v(*args):
69
69
o ("emscripten" , None , "compile the emscripten backend as well as LLVM" )
70
70
o ("full-tools" , None , "enable all tools" )
71
71
o ("lldb" , "rust.lldb" , "build lldb" )
72
- o ("enable- missing-tools" , "build .missing-tools" , "allow failures when building tools" )
72
+ o ("missing-tools" , "dist .missing-tools" , "allow failures when building tools" )
73
73
74
74
# Optimization and debugging options. These may be overridden by the release
75
75
# channel, etc.
Original file line number Diff line number Diff line change 76
76
fi
77
77
fi
78
78
79
- if [ " $RUST_RELEASE_CHANNEL " = " nightly" ] or [ " $DIST_REQUIRE_ALL_TOOLS " = " " ]; then
79
+ if [ " $RUST_RELEASE_CHANNEL " = " nightly" ] || [ " $DIST_REQUIRE_ALL_TOOLS " = " " ]; then
80
80
RUST_CONFIGURE_ARGS=" $RUST_CONFIGURE_ARGS --enable-missing-tools"
81
81
fi
82
82
You can’t perform that action at this time.
0 commit comments