clippy: warn for large_stack_arrays lint

https://rust-lang.github.io/rust-clippy/rust-1.95.0/index.html#large_stack_arrays
This commit is contained in:
xtqqczze
2026-04-16 21:24:29 +01:00
committed by Daniel Hofstetter
parent e829cfb26c
commit 40070cadfc
2 changed files with 2 additions and 5 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
allow-mixed-uninlined-format-args = false
array-size-threshold = 262144
avoid-breaking-exported-api = false
check-private-items = true
cognitive-complexity-threshold = 24
missing-docs-in-crate-items = true
allow-mixed-uninlined-format-args = false
-4
View File
@@ -726,9 +726,6 @@ collapsible_if = { level = "allow", priority = 127 } # remove me
# | jq -r '.message.code.code | select(. != null and startswith("clippy::"))' \
# | sort | uniq -c | sort -h -r
#
# TODO:
# remove large_stack_arrays when https://github.com/rust-lang/rust-clippy/issues/13774 is fixed
#
all = { level = "warn", priority = -1 }
cargo = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
@@ -748,7 +745,6 @@ cast_precision_loss = "allow" # 52
cast_lossless = "allow" # 35
ignored_unit_patterns = "allow" # 21
similar_names = "allow" # 20
large_stack_arrays = "allow" # 20
needless_pass_by_value = "allow" # 16
float_cmp = "allow" # 12
items_after_statements = "allow" # 11