Update check-cfg lists for std
This commit is contained in:
parent
0734ae22f5
commit
73602bf408
1 changed files with 10 additions and 0 deletions
|
@ -97,3 +97,13 @@ heap_size = 0x8000000
|
||||||
name = "stdbenches"
|
name = "stdbenches"
|
||||||
path = "benches/lib.rs"
|
path = "benches/lib.rs"
|
||||||
test = true
|
test = true
|
||||||
|
|
||||||
|
[lints.rust.unexpected_cfgs]
|
||||||
|
level = "warn"
|
||||||
|
check-cfg = [
|
||||||
|
'cfg(bootstrap)',
|
||||||
|
'cfg(backtrace_in_libstd)',
|
||||||
|
'cfg(netbsd10)',
|
||||||
|
'cfg(target_arch, values("xtensa"))',
|
||||||
|
'cfg(feature, values("std", "as_crate"))',
|
||||||
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue