We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edd27e2 commit 9d4f5b4Copy full SHA for 9d4f5b4
alloc/Cargo.toml
@@ -40,3 +40,12 @@ compiler-builtins-weak-intrinsics = ["compiler_builtins/weak-intrinsics"]
40
panic_immediate_abort = ["core/panic_immediate_abort"]
41
# Choose algorithms that are optimized for binary size instead of runtime performance
42
optimize_for_size = ["core/optimize_for_size"]
43
+
44
+[lints.rust.unexpected_cfgs]
45
+level = "warn"
46
+check-cfg = [
47
+ 'cfg(no_global_oom_handling)',
48
+ 'cfg(bootstrap)',
49
+ 'cfg(no_rc)',
50
+ 'cfg(no_sync)',
51
+]
0 commit comments