Skip to content

Commit

Permalink
Forbid undocumented unsafe code
Browse files Browse the repository at this point in the history
  • Loading branch information
bash committed Jan 23, 2024
1 parent 2d04083 commit 81ef317
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,11 @@ members = [
"crates/portal-wormhole",
]

[workspace.lints.rust]
unsafe_code = "forbid"

[workspace.lints.clippy]
out_of_bounds_indexing = "allow"
str_to_string = "warn"
unwrap_used = "warn"
undocumented_unsafe_blocks = "forbid"

[target.'cfg(windows)'.build-dependencies]
ico-builder = "0.1.0"
Expand Down

0 comments on commit 81ef317

Please sign in to comment.