@@ -54,29 +54,26 @@ symcheck=(cargo run -p symbol-check --release)
54
54
[[ " $target " = " wasm" * ]] && symcheck+=(--features wasm)
55
55
symcheck+=(-- build-and-check)
56
56
57
- " ${symcheck[@]} " -p compiler_builtins --target " $target "
58
- " ${symcheck[@]} " -p compiler_builtins --target " $target " --release
59
- " ${symcheck[@]} " -p compiler_builtins --target " $target " --features c
60
- " ${symcheck[@]} " -p compiler_builtins --target " $target " --features c --release
61
- " ${symcheck[@]} " -p compiler_builtins --target " $target " --features no-asm
62
- " ${symcheck[@]} " -p compiler_builtins --target " $target " --features no-asm --release
63
- " ${symcheck[@]} " -p compiler_builtins --target " $target " --features no-f16-f128
64
- " ${symcheck[@]} " -p compiler_builtins --target " $target " --features no-f16-f128 --release
57
+ " ${symcheck[@]} " " $target " -- -p compiler_builtins
58
+ " ${symcheck[@]} " " $target " -- -p compiler_builtins --release
59
+ " ${symcheck[@]} " " $target " -- -p compiler_builtins --features c
60
+ " ${symcheck[@]} " " $target " -- -p compiler_builtins --features c --release
61
+ " ${symcheck[@]} " " $target " -- -p compiler_builtins --features no-asm
62
+ " ${symcheck[@]} " " $target " -- -p compiler_builtins --features no-asm --release
63
+ " ${symcheck[@]} " " $target " -- -p compiler_builtins --features no-f16-f128
64
+ " ${symcheck[@]} " " $target " -- -p compiler_builtins --features no-f16-f128 --release
65
65
66
66
run_intrinsics_test () {
67
- args=(
68
- --target " $target " --verbose \
69
- --manifest-path builtins-test-intrinsics/Cargo.toml
70
- )
71
- args+=( " $@ " )
67
+ build_args=(--verbose --manifest-path builtins-test-intrinsics/Cargo.toml)
68
+ build_args+=(" $@ " )
72
69
73
70
# symcheck also checks the results of builtins-test-intrinsics
74
- " ${symcheck[@]} " " ${args [@]} "
71
+ " ${symcheck[@]} " " $target " -- " ${build_args [@]}"
75
72
76
73
# FIXME: we get access violations on Windows, our entrypoint may need to
77
74
# be tweaked.
78
75
if [ " ${BUILD_ONLY:- } " != " 1" ] && ! [[ " $target " = * " windows" * ]]; then
79
- cargo run " ${args [@]}"
76
+ cargo run --target " $target " " ${build_args [@]}"
80
77
fi
81
78
}
82
79
0 commit comments