forked from MystenLabs/sui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config
30 lines (28 loc) · 1.15 KB
/
config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
[alias]
# Collection of project wide clippy lints. This is done via an alias because
# clippy doesn't currently allow for specifiying project-wide lints in a
# configuration file. This is a similar workaround to the ones presented here:
# <https://github.com/EmbarkStudios/rust-ecosystem/issues/59>
xclippy = [
"clippy", "--all-targets", "--all-features", "--",
"-Wclippy::all",
"-Wclippy::disallowed_methods",
]
xlint = "run --package x --bin x -- lint"
xtest = "run --package x --bin x -- external-crates-tests"
# Configuration specifically for running clippy on `external-crates/move/`.
# Some of these allows are to avoid code churn; others are filed as issues on the `sui` repo now.
move-clippy = [
"clippy", "--",
"-Wclippy::all",
"-Wclippy::disallowed_methods",
"-Aclippy::upper_case_acronyms",
"-Aclippy::type_complexity",
# Remove after https://github.com/rust-lang/rust-clippy/pull/11792 is released.
"-Aclippy::map_identity",
"-Aclippy::new_without_default",
"-Aclippy::box_default",
"-Aclippy::manual_slice_size_calculation",
]
[build]
rustflags = ["-C", "force-frame-pointers=yes", "-C", "force-unwind-tables=yes"]