File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 5050
5151# Run a command for each `compiler_builtins` rlib file
5252for_each_rlib () {
53+ shopt -s nullglob
5354 if [ -d /builtins-target ]; then
5455 rlib_paths=( /builtins-target/" ${target} " /debug/deps/libcompiler_builtins-* .rlib )
5556 else
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ fn main() {
2626
2727 match & args_ref[ 1 ..] {
2828 [ "build-and-check" , rest @ ..] if !rest. is_empty ( ) => {
29- let paths = exec_cargo_with_args ( & rest) ;
29+ let paths = exec_cargo_with_args ( rest) ;
3030 for path in paths {
3131 println ! ( "Checking {}" , path. display( ) ) ;
3232 verify_no_duplicates ( & path) ;
@@ -40,6 +40,7 @@ fn main() {
4040 }
4141}
4242
43+ /// Run `cargo build` with the provided additional arguments.
4344fn exec_cargo_with_args ( args : & [ & str ] ) -> Vec < PathBuf > {
4445 let mut cmd = Command :: new ( "cargo" )
4546 . arg ( "build" )
You can’t perform that action at this time.
0 commit comments