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.
This commit is contained in:
Alex Crichton
2022-02-23 12:06:52 -06:00
committed by GitHub
parent f87c61176a
commit 01e567ca05

View File

@@ -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)
}