File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ system-llvm-libunwind = ["unwind/system-llvm-libunwind"]
8282
8383# Make panics and failed asserts immediately abort without formatting any message
8484panic_immediate_abort = [" core/panic_immediate_abort" , " alloc/panic_immediate_abort" ]
85+ restricted-std = []
8586
8687# Enable std_detect default features for stdarch/crates/std_detect:
8788# https://github.com/rust-lang/stdarch/blob/master/crates/std_detect/Cargo.toml
@@ -99,3 +100,13 @@ heap_size = 0x8000000
99100name = " stdbenches"
100101path = " benches/lib.rs"
101102test = true
103+
104+ [lints .rust .unexpected_cfgs ]
105+ level = " warn"
106+ check-cfg = [
107+ ' cfg(bootstrap)' ,
108+ ' cfg(backtrace_in_libstd)' ,
109+ ' cfg(netbsd10)' ,
110+ ' cfg(target_arch, values("xtensa"))' ,
111+ ' cfg(feature, values("std", "as_crate"))' ,
112+ ]
You can’t perform that action at this time.
0 commit comments