Skip to content

Commit

Permalink
fix Rust check
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Leshiy committed Dec 11, 2023
1 parent 6888de9 commit e45cd55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion hermes/.cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ rustflags = [
]

rustdocflags = [
"--enable-index-page",
"-Z",
"unstable-options",
"-D",
"warnings",
"-D",
Expand Down Expand Up @@ -104,7 +107,6 @@ lto = "thin"
incremental = false
codegen-units = 16


[alias]
lint = "clippy -- -D warnings -D clippy::pedantic -D clippy::unwrap_used -D clippy::expect_used -D clippy::exit -D clippy::get_unwrap -D clippy::index_refutable_slice -D clippy::indexing_slicing -D clippy::match_on_vec_items -D clippy::match_wild_err_arm -D clippy::missing_panics_doc -D clippy::panic -D clippy::string_slice -D clippy::unchecked_duration_subtraction -D clippy::unreachable -D clippy::missing_docs_in_private_items"
lintfix = "clippy -- -D warnings -D clippy::pedantic -D clippy::unwrap_used -D clippy::expect_used -D clippy::exit -D clippy::get_unwrap -D clippy::index_refutable_slice -D clippy::indexing_slicing -D clippy::match_on_vec_items -D clippy::match_wild_err_arm -D clippy::missing_panics_doc -D clippy::panic -D clippy::string_slice -D clippy::unchecked_duration_subtraction -D clippy::unreachable"
Expand Down
2 changes: 1 addition & 1 deletion hermes/clippy.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
allow-unwrap-in-tests = true
allow-expect-in-tests = true

0 comments on commit e45cd55

Please sign in to comment.