File tree Expand file tree Collapse file tree 7 files changed +29
-0
lines changed
Expand file tree Collapse file tree 7 files changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,20 @@ similar = "2.2.1"
4747syn = " 2.0"
4848tempfile = " 3"
4949
50+ [workspace .lints .rust ]
51+ # unused_qualifications = "warn"
52+
53+ [workspace .lints .clippy ]
54+ # disallowed-names = "allow"
55+ # manual-c-str-literals = "allow"
56+ # missing-safety-doc = "allow"
57+ # op-ref = "allow"
58+ # ptr-offset-with-cast = "allow"
59+ # too-many-arguments = "allow"
60+ # transmute-int-to-bool = "allow"
61+ # unnecessary-cast = "allow"
62+ # useless-transmute = "allow"
63+
5064# Config for 'cargo dist'
5165[workspace .metadata .dist ]
5266# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
Original file line number Diff line number Diff line change 1+ lints.workspace = true
2+
13[package ]
24authors = [
35 " The rust-bindgen project contributors" ,
Original file line number Diff line number Diff line change 1+ lints.workspace = true
2+
13[package ]
24name = " bindgen-integration"
35description = " A package to test various bindgen features"
Original file line number Diff line number Diff line change 1+ lints.workspace = true
2+
13[package ]
24name = " bindgen-tests"
35version = " 0.1.0"
Original file line number Diff line number Diff line change @@ -16,17 +16,22 @@ block.workspace = true
1616libloading.workspace = true
1717objc.workspace = true
1818
19+ # Both of these sections need to be copied here from the workspace because
20+ # Cargo currently does not allow overriding workspace settings in a member
1921[lints .rust ]
2022# ## FIXME: these might need to be fixed,
2123# ## esp the calling convention, because it is a hard error now
2224# deprecated = "allow"
2325# invalid-value = "allow"
2426# unsupported_calling_conventions = "allow"
27+ #
28+ # Different from the workspace
2529dead_code = " allow"
2630non-snake-case = " allow"
2731non_camel_case_types = " allow"
2832non_upper_case_globals = " allow"
2933unexpected-cfgs = " allow"
34+ unused_qualifications = " allow"
3035
3136[lints .clippy ]
3237disallowed-names = " allow"
Original file line number Diff line number Diff line change 1+ lints.workspace = true
2+
13[package ]
24name = " quickchecking"
35description = " Bindgen property tests with quickcheck. Generate random valid C code and pass it to the csmith/predicate.py script"
Original file line number Diff line number Diff line change 1+ lints.workspace = true
2+
13[package ]
24authors = [
35 " Jyun-Yan You <[email protected] >" ,
You can’t perform that action at this time.
0 commit comments