Merge pull request #18994 from Wilfred/failed_rustc_cfg_as_warning

internal: Treat cfg fetching failures as a warning
This commit is contained in:
Lukas Wirth 2025-01-24 13:31:00 +00:00 committed by GitHub
commit 8acea502ee
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,7 +19,7 @@ pub fn get(
let rustc_cfgs = match rustc_cfgs {
Ok(cfgs) => cfgs,
Err(e) => {
tracing::error!(?e, "failed to get rustc cfgs");
tracing::warn!(?e, "failed to get rustc cfgs");
return vec![];
}
};