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:
@@ -724,7 +724,7 @@ impl<'a> Arbitrary<'a> for CodegenSettings {
|
|||||||
// input must be discarded.
|
// input must be discarded.
|
||||||
#[cfg(target_arch = $arch)]
|
#[cfg(target_arch = $arch)]
|
||||||
if enable && !std::$test!($std) {
|
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);
|
$clif);
|
||||||
return Err(arbitrary::Error::EmptyChoose)
|
return Err(arbitrary::Error::EmptyChoose)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user