Update check-cfg lists for alloc

This commit is contained in:
Lzu Tao 2024-05-19 23:14:48 +00:00
parent 63fe640f5d
commit 0734ae22f5
1 changed files with 9 additions and 0 deletions

View File

@ -40,3 +40,12 @@ compiler-builtins-weak-intrinsics = ["compiler_builtins/weak-intrinsics"]
panic_immediate_abort = ["core/panic_immediate_abort"]
# Choose algorithms that are optimized for binary size instead of runtime performance
optimize_for_size = ["core/optimize_for_size"]
[lints.rust.unexpected_cfgs]
level = "warn"
check-cfg = [
'cfg(no_global_oom_handling)',
'cfg(bootstrap)',
'cfg(no_rc)',
'cfg(no_sync)',
]