From 01e567ca05c73a20aa9cad53f605697ed9a3f19b Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 23 Feb 2022 12:06:52 -0600 Subject: [PATCH] Downgrade a cpu feature log message (#3842) It looks like `error!` is printed by default as it's showing up in oss-fuzz logs, so downgrade this to `warn!` to avoid printing while fuzzing. --- crates/fuzzing/src/generators.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/fuzzing/src/generators.rs b/crates/fuzzing/src/generators.rs index cc1059d098..8ab95c7b0e 100644 --- a/crates/fuzzing/src/generators.rs +++ b/crates/fuzzing/src/generators.rs @@ -724,7 +724,7 @@ impl<'a> Arbitrary<'a> for CodegenSettings { // input must be discarded. #[cfg(target_arch = $arch)] if enable && !std::$test!($std) { - log::error!("want to enable clif `{}` but host doesn't support it", + log::warn!("want to enable clif `{}` but host doesn't support it", $clif); return Err(arbitrary::Error::EmptyChoose) }