diff options
| author | theKidOfArcrania <theKidOfArcrania@users.noreply.github.com> | 2024-05-15 10:44:58 -0700 |
|---|---|---|
| committer | Amanieu d'Antras <amanieu@gmail.com> | 2024-05-21 01:09:47 +0200 |
| commit | e246ba5a460e45aaf24aaa5a8d2ccbc04227544c (patch) | |
| tree | b0a5962a58edb939917c7c9fb5aa0d2f9532390b /library/compiler-builtins/ci/run.sh | |
| parent | 24cb0c2bcc044d5d60830334e18eb403c4d9ac2d (diff) | |
| download | rust-e246ba5a460e45aaf24aaa5a8d2ccbc04227544c.tar.gz rust-e246ba5a460e45aaf24aaa5a8d2ccbc04227544c.zip | |
Use cmd.exe
Diffstat (limited to 'library/compiler-builtins/ci/run.sh')
| -rwxr-xr-x | library/compiler-builtins/ci/run.sh | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/library/compiler-builtins/ci/run.sh b/library/compiler-builtins/ci/run.sh index b2728eacf35..2620dfff8e6 100755 --- a/library/compiler-builtins/ci/run.sh +++ b/library/compiler-builtins/ci/run.sh @@ -33,15 +33,17 @@ else fi if [ "${TEST_UNC:-}" = "1" ]; then - run="cargo build --manifest-path testcrate/Cargo.toml --target $target --target-dir \\\\?\\$TEMP\\test_unc" - $run - $run --release - $run --features c - $run --features c --release - $run --features no-asm - $run --features no-asm --release - $run --features no-f16-f128 - $run --features no-f16-f128 --release + function run() { + cmd.exe /c cargo build --manifest-path testcrate/Cargo.toml --target $target --target-dir "\\\\?\\%TEMP%\\test_unc" "$@" + } + run + run --release + run --features c + run --features c --release + run --features no-asm + run --features no-asm --release + run --features no-f16-f128 + run --features no-f16-f128 --release fi if [ -d /builtins-target ]; then |
