Skip to content

Commit

Permalink
fix: restore cfg(coverage) usage
Browse files Browse the repository at this point in the history
Signed-off-by: 0x009922 <43530070+0x009922@users.noreply.github.com>
  • Loading branch information
0x009922 authored and mversic committed Oct 10, 2024
1 parent a2ba893 commit 4fee2ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ rust.unused_lifetimes = "warn"
rust.unexpected_cfgs = { level = "warn", check-cfg = [
# FIXME: https://github.com/hyperledger/iroha/issues/3102
'cfg(feature, values("ffi_import"))',
# FIXME: was never supported https://github.com/hyperledger/iroha/issues/5139
# 'cfg(coverage)'
# It is set by `cargo-llvm-cov`
'cfg(coverage)'
] }

# pedantic
Expand Down
1 change: 1 addition & 0 deletions crates/iroha_derive/tests/ui.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![cfg(not(coverage))]
use trybuild::TestCases;

#[test]
Expand Down

0 comments on commit 4fee2ef

Please sign in to comment.