Skip to content

Commit ad1fde9

Browse files
committed
build-sys: Promote unused_code to an error
1 parent c8cb250 commit ad1fde9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,7 @@ libc = "0.2"
3232

3333
[features]
3434
default = ["xattr"]
35+
36+
[lints.rust]
37+
# Feel free to comment this one out locally during development of a patch.
38+
dead_code = "deny"

0 commit comments

Comments
 (0)