We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8b612b commit 7de88dfCopy full SHA for 7de88df
tools/test.sh
@@ -195,6 +195,12 @@ cranelift=''
195
if [[ "${RUSTFLAGS:-}" =~ -Z( )?codegen-backend=cranelift ]]; then
196
cranelift='1'
197
rustup ${pre_args[@]+"${pre_args[@]}"} component add rustc-codegen-cranelift-preview &>/dev/null
198
+else
199
+ case "$(basename "${cargo}")" in
200
+ cargo-clif | cargo-clif.exe) cranelift='1' ;;
201
+ esac
202
+fi
203
+if [[ -n "${cranelift}" ]]; then
204
# panic=unwind is not supported yet.
205
# https://github.com/rust-lang/rustc_codegen_cranelift#not-yet-supported
206
flags=' -C panic=abort -Z panic_abort_tests'
0 commit comments