diff options
| author | Lzu Tao <taolzu@gmail.com> | 2024-05-19 23:27:41 +0000 |
|---|---|---|
| committer | Lzu Tao <taolzu@gmail.com> | 2024-05-21 18:17:55 +0000 |
| commit | 73602bf4088b31daa0da10d3ea926e1145faa5d5 (patch) | |
| tree | ee7073a66d98f1356a412b97a2ebca1f0b9fdd42 | |
| parent | 0734ae22f5e821023155e2df24628a1c6df54f2e (diff) | |
| download | rust-73602bf4088b31daa0da10d3ea926e1145faa5d5.tar.gz rust-73602bf4088b31daa0da10d3ea926e1145faa5d5.zip | |
Update check-cfg lists for std
| -rw-r--r-- | library/std/Cargo.toml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/library/std/Cargo.toml b/library/std/Cargo.toml index 5b36867fe24..4b8ee4c1309 100644 --- a/library/std/Cargo.toml +++ b/library/std/Cargo.toml @@ -97,3 +97,13 @@ heap_size = 0x8000000 name = "stdbenches" path = "benches/lib.rs" 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"))', +] |
