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"]
82
82
83
83
# Make panics and failed asserts immediately abort without formatting any message
84
84
panic_immediate_abort = [" core/panic_immediate_abort" , " alloc/panic_immediate_abort" ]
85
+ restricted-std = []
85
86
86
87
# Enable std_detect default features for stdarch/crates/std_detect:
87
88
# https://github.com/rust-lang/stdarch/blob/master/crates/std_detect/Cargo.toml
@@ -99,3 +100,13 @@ heap_size = 0x8000000
99
100
name = " stdbenches"
100
101
path = " benches/lib.rs"
101
102
test = 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