File tree 7 files changed +29
-0
lines changed
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"
47
47
syn = " 2.0"
48
48
tempfile = " 3"
49
49
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
+
50
64
# Config for 'cargo dist'
51
65
[workspace .metadata .dist ]
52
66
# 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
+
1
3
[package ]
2
4
authors = [
3
5
" The rust-bindgen project contributors" ,
Original file line number Diff line number Diff line change
1
+ lints.workspace = true
2
+
1
3
[package ]
2
4
name = " bindgen-integration"
3
5
description = " A package to test various bindgen features"
Original file line number Diff line number Diff line change
1
+ lints.workspace = true
2
+
1
3
[package ]
2
4
name = " bindgen-tests"
3
5
version = " 0.1.0"
Original file line number Diff line number Diff line change @@ -16,17 +16,22 @@ block.workspace = true
16
16
libloading.workspace = true
17
17
objc.workspace = true
18
18
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
19
21
[lints .rust ]
20
22
# ## FIXME: these might need to be fixed,
21
23
# ## esp the calling convention, because it is a hard error now
22
24
# deprecated = "allow"
23
25
# invalid-value = "allow"
24
26
# unsupported_calling_conventions = "allow"
27
+ #
28
+ # Different from the workspace
25
29
dead_code = " allow"
26
30
non-snake-case = " allow"
27
31
non_camel_case_types = " allow"
28
32
non_upper_case_globals = " allow"
29
33
unexpected-cfgs = " allow"
34
+ unused_qualifications = " allow"
30
35
31
36
[lints .clippy ]
32
37
disallowed-names = " allow"
Original file line number Diff line number Diff line change
1
+ lints.workspace = true
2
+
1
3
[package ]
2
4
name = " quickchecking"
3
5
description = " 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
+
1
3
[package ]
2
4
authors = [
3
5
" Jyun-Yan You <[email protected] >" ,
You can’t perform that action at this time.
0 commit comments