Some little Cranelift logging things (#4624)

* Cranelift: Don't print "skipped TEST can't run aarch64" on x64, etc

It's way too noisy. Move it to the logs.

* Cranelift: Enable Cranelift trace logs in `clif-util` by default

* cranelift-filetest: use `log::warn!` for warnings

Instead of `println!`

* rustfmt
This commit is contained in:
Nick Fitzgerald
2022-08-05 13:25:24 -07:00
committed by GitHub
parent eb332b8369
commit 95e72db458
3 changed files with 6 additions and 4 deletions

View File

@@ -114,7 +114,7 @@ impl SubTest for TestRun {
let host_isa = build_host_isa(true, context.flags.clone(), vec![]);
let requested_isa = context.isa.unwrap();
if let Err(e) = is_isa_compatible(context, host_isa.as_ref(), requested_isa) {
println!("{}", e);
log::info!("{}", e);
return Ok(());
}