Skip to content

Commit dab7427

Browse files
committed
update
1 parent b934dab commit dab7427

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ci/run.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ fi
5050

5151
# Run a command for each `compiler_builtins` rlib file
5252
for_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

crates/symbol-check/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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.
4344
fn exec_cargo_with_args(args: &[&str]) -> Vec<PathBuf> {
4445
let mut cmd = Command::new("cargo")
4546
.arg("build")

0 commit comments

Comments
 (0)