Skip to content

Commit

Permalink
more precise unexpected_cfgs
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucas Franceschino committed Jul 5, 2024
1 parent e6ac47d commit 43ab211
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions engine/names/extract/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ bincode.workspace = true
[features]
default = ["extract_names_mode"]
extract_names_mode = []

[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(feature, values("rustc"))'] }
1 change: 0 additions & 1 deletion engine/names/extract/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use std::process::{Command, Stdio};
/// impls), we just inline a small module here that contains the three
/// type definition we need. See the module for complementary
/// informations.
#[allow(unexpected_cfgs)]
#[path = "../../../frontend/exporter/src/types/def_id.rs"]
mod hax_frontend_exporter_def_id;
use hax_frontend_exporter_def_id::*;
Expand Down

0 comments on commit 43ab211

Please sign in to comment.