From 56f66182ea4b9066a0390b8b061324c05b96c1c0 Mon Sep 17 00:00:00 2001 From: Samuel Moelius Date: Wed, 20 Nov 2024 05:48:10 -0500 Subject: [PATCH] Allowing the `unexpected_cfgs` lint This recent change is causing CI to fail: https://github.com/rust-lang/rust/pull/132577 The failure is caused by the `used_linker` feature in code produced by the `ctor::ctor` attribute macro. --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5eec8e316..4d7471c45 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,9 @@ members = ["afl", "cargo-afl"] resolver = "2" [workspace.lints.rust.unexpected_cfgs] -level = "deny" +# smoelius: Temporarily setting the lint level to `allow`. +# level = "deny" +level = "allow" check-cfg = ["cfg(fuzzing)"] [workspace.lints.clippy]