We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63fe640 commit 0734ae2Copy full SHA for 0734ae2
library/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