no bug - Bumping Firefox l10n changesets r=release a=l10n-bump DONTBUILD CLOSED TREE
[gecko.git] / tools / lint / clippy.yml
blob7b8d196e21bf3d67f6044ae7fb22768f5c32d2df
1 ---
2 clippy:
3     description: Lint rust
4     include:
5         - build/workspace-hack/
6         - dom/midi/midir_impl/
7         - dom/media/gtest/
8         - dom/webauthn/libudev-sys/
9         - gfx/webrender_bindings/
10         - gfx/wr/peek-poke/
11         - gfx/wr/peek-poke/peek-poke-derive/
12         - gfx/wr/webrender_build/
13         - gfx/wr/wr_malloc_size_of/
14         - js/src/frontend/smoosh/
15         - js/src/rust/shared/
16         - modules/libpref/init/static_prefs/
17         - mozglue/static/rust/
18         - netwerk/base/mozurl/
19         - security/manager/ssl/data_storage/
20         - servo/components/derive_common/
21         - servo/components/selectors/
22         - servo/components/servo_arc/
23         - servo/components/style/
24         - servo/components/style_derive/
25         - servo/components/style_traits/
26         - servo/components/to_shmem/
27         - servo/components/to_shmem_derive/
28         - servo/tests/unit/style/
29         - testing/geckodriver/
30         - testing/mozbase/rust/mozdevice/
31         - testing/mozbase/rust/mozprofile/
32         - testing/mozbase/rust/mozrunner/
33         - testing/mozbase/rust/mozversion/
34         - testing/webdriver/
35         - third_party/rust/mp4parse/
36         - third_party/rust/mp4parse_capi/
37         - toolkit/crashreporter/mozannotation_client/
38         - toolkit/crashreporter/mozannotation_server/
39         - toolkit/components/kvstore/
40         - toolkit/components/glean/
41         - toolkit/library/rust/
42         - tools/fuzzing/rust/
43         - tools/profiler/rust-api/
44         - xpcom/rust/gtest/bench-collections/
45         - xpcom/rust/xpcom/xpcom_macros/
46     exclude:
47         # Many are failing for the same reasons:
48         # https://bugzilla.mozilla.org/show_bug.cgi?id=1606073
49         # https://bugzilla.mozilla.org/show_bug.cgi?id=1606077
50         - Cargo.toml
51         # nsstring
52         # derive_hash_xor_eq
53         - gfx/wr/
54         - gfx/wr/webrender/
55         - gfx/wr/examples/
56         # windows-only
57         - gfx/wr/example-compositor/compositor-windows/
58         - gfx/wr/webrender_api/
59         - gfx/wr/wrench/
60         - gfx/wgpu_bindings/
61         # not_unsafe_ptr_arg_deref
62         - modules/libpref/parser/
63         - tools/profiler/rust-helper/
64         - toolkit/library/rust/shared/
65         - toolkit/library/gtest/rust/
66         # not_unsafe_ptr_arg_deref
67         - remote/
68         - dom/media/webrtc/sdp/rsdparsa_capi/
69         - intl/encoding_glue/
70         # not_unsafe_ptr_arg_deref
71         - storage/rust/
72         - storage/variant/
73         # nsstring
74         - servo/ports/geckolib/tests/
75         - xpcom/rust/xpcom/
76         - xpcom/rust/nsstring/
77         - xpcom/rust/gtest/xpcom/
78         - xpcom/rust/gtest/nsstring/
79         - security/manager/ssl/cert_storage/
80         - intl/locale/rust/fluent-langneg-ffi/
81         - intl/locale/rust/unic-langid-ffi/
82         - toolkit/components/places/bookmark_sync/
83         - xpcom/rust/nserror/
84         - xpcom/rust/moz_task/
85         - xpcom/rust/gkrust_utils/
86         - netwerk/socket/neqo_glue/
87         - dom/media/webrtc/transport/mdns_service/
88         - tools/lint/test/files/clippy/
89         - servo/ports/geckolib/
90         - servo/ports/geckolib/tests/
91         - servo/tests/unit/malloc_size_of/
92         - servo/components/malloc_size_of/
93         - dom/media/webrtc/sdp/rsdparsa_capi/
94         - testing/geckodriver/marionette/
95         - toolkit/components/bitsdownload/bits_client/
96         - gfx/wr/example-compositor/compositor/
97         - toolkit/components/bitsdownload/bits_client/bits/
98         # mac and windows only
99         - security/manager/ssl/osclientcerts/
100     extensions:
101         - rs
102     support-files:
103         - 'tools/lint/clippy/**'
104     # the version of cargo-clippy is:
105     # clippy 0.1.65 (2019147 2022-09-19)
106     # we use the date instead to facilitate the check
107     # replacing - by . because Python packaging.version.Version expects this
108     min_clippy_version: 2022.09.19
109     type: external
110     payload: clippy:lint