Skip to content

Commit 73602bf

Browse files
committed
Update check-cfg lists for std
1 parent 0734ae2 commit 73602bf

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

library/std/Cargo.toml

+10
Original file line numberDiff line numberDiff line change
@@ -97,3 +97,13 @@ heap_size = 0x8000000
9797
name = "stdbenches"
9898
path = "benches/lib.rs"
9999
test = true
100+
101+
[lints.rust.unexpected_cfgs]
102+
level = "warn"
103+
check-cfg = [
104+
'cfg(bootstrap)',
105+
'cfg(backtrace_in_libstd)',
106+
'cfg(netbsd10)',
107+
'cfg(target_arch, values("xtensa"))',
108+
'cfg(feature, values("std", "as_crate"))',
109+
]

0 commit comments

Comments
 (0)