Skip to content

Commit 80c15a2

Browse files
committed
lint: prepare manifests for cargo-rbmt lint
1 parent b7f318b commit 80c15a2

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

Cargo.toml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ edition = "2021"
1010
rust-version = "1.79.0"
1111
default-run = "simc"
1212

13+
[package.metadata.rbmt.lint]
14+
# Existing transitive split: derive_arbitrary uses syn 1 while serde/wasm tooling uses syn 2.
15+
allowed_duplicates = ["syn"]
16+
1317
[lib]
1418
name = "simplicityhl"
1519
path = "src/lib.rs"
@@ -82,7 +86,7 @@ copy_iterator = "warn"
8286
default_trait_access = "warn"
8387
doc_link_with_quotes = "warn"
8488
doc_markdown = "warn"
85-
empty_enums = "warn"
89+
empty_enum = "warn"
8690
enum_glob_use = "allow"
8791
expl_impl_clone_on_copy = "warn"
8892
explicit_deref_methods = "warn"
@@ -166,7 +170,7 @@ struct_field_names = "warn"
166170
too_many_lines = "allow"
167171
transmute_ptr_to_ptr = "warn"
168172
trivially_copy_pass_by_ref = "warn"
169-
unchecked_time_subtraction = "warn"
173+
unchecked_duration_subtraction = "warn"
170174
unicode_not_nfc = "warn"
171175
unnecessary_box_returns = "warn"
172176
unnecessary_join = "warn"

fuzz/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ rust-version = "1.79.0"
88
[package.metadata]
99
cargo-fuzz = true
1010

11+
[package.metadata.rbmt.lint]
12+
# Existing transitive split: derive_arbitrary uses syn 1 while serde/wasm tooling uses syn 2.
13+
allowed_duplicates = ["syn"]
14+
1115
[dependencies]
1216
libfuzzer-sys = "0.4"
1317
arbitrary = { version = "1", features = ["derive"] }

0 commit comments

Comments
 (0)