Skip to content

Commit

Permalink
test: fix coverage attr to nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
0xNeshi committed Dec 5, 2024
1 parent 589c4ba commit f84dfa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ version = "0.2.0-alpha.1"
missing_docs = "warn"
unreachable_pub = "warn"
rust_2021_compatibility = { level = "warn", priority = -1 }
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage)'] }
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(coverage_nightly)'] }

[workspace.lints.clippy]
pedantic = "warn"
Expand Down
2 changes: 1 addition & 1 deletion contracts/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl MyContract { }
)]
#![cfg_attr(not(feature = "std"), no_std, no_main)]
#![deny(rustdoc::broken_intra_doc_links)]
#![feature(coverage_attribute)]
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]
extern crate alloc;

pub mod access;
Expand Down

0 comments on commit f84dfa1

Please sign in to comment.