Skip to content

Commit 746a49f

Browse files
johnsaiglenvsriram
authored andcommitted
solana: Deny rust clippy warnings in Cargo.toml
This is currently enabled as a flag in the github CI workflow so this commit causes this to be reflected within the project itself
1 parent cc3565c commit 746a49f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

solana/Cargo.toml

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ members = [
55
]
66
resolver = "2"
77

8+
[workspace.lints.rust]
9+
warnings = "deny"
10+
811
# Lints to improve security
912
[workspace.lints.clippy]
1013
# The following rules should be enabled but conflict with other open PRs.
@@ -63,6 +66,7 @@ cfg-if = "1.0"
6366
overflow-checks = true
6467
lto = "fat"
6568
codegen-units = 1
69+
6670
[profile.release.build-override]
6771
opt-level = 3
6872
incremental = false

0 commit comments

Comments
 (0)