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 c20acbe commit e0049bbCopy full SHA for e0049bb
library/alloc/Cargo.toml
@@ -38,3 +38,12 @@ compiler-builtins-mangled-names = ["compiler_builtins/mangled-names"]
38
compiler-builtins-weak-intrinsics = ["compiler_builtins/weak-intrinsics"]
39
# Make panics and failed asserts immediately abort without formatting any message
40
panic_immediate_abort = []
41
+
42
+[lints.rust.unexpected_cfgs]
43
+level = "warn"
44
+check-cfg = [
45
+ 'cfg(no_global_oom_handling)',
46
+ 'cfg(bootstrap)',
47
+ 'cfg(no_rc)',
48
+ 'cfg(no_sync)',
49
+]
0 commit comments