Skip to content

Commit

Permalink
Merge branch 'main' into greg/sync-start
Browse files Browse the repository at this point in the history
  • Loading branch information
romac authored May 15, 2024
2 parents 4398a19 + bc68afb commit 02a267c
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
rustdoc::private_intra_doc_links,
variant_size_differences
)]
// For coverage on nightly
#![allow(unexpected_cfgs)]
#![cfg_attr(not(test), deny(clippy::unwrap_used, clippy::panic))]
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]

Expand Down
2 changes: 2 additions & 0 deletions code/driver/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
rustdoc::private_intra_doc_links,
variant_size_differences
)]
// For coverage on nightly
#![allow(unexpected_cfgs)]
#![cfg_attr(not(test), deny(clippy::unwrap_used, clippy::panic))]
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]

Expand Down
2 changes: 2 additions & 0 deletions code/network/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// For coverage on nightly
#![allow(unexpected_cfgs)]
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]

mod msg;
Expand Down
2 changes: 2 additions & 0 deletions code/node/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// For coverage on nightly
#![allow(unexpected_cfgs)]
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]

pub mod config;
2 changes: 2 additions & 0 deletions code/round/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
rustdoc::private_intra_doc_links,
variant_size_differences
)]
// For coverage on nightly
#![allow(unexpected_cfgs)]
#![cfg_attr(not(test), deny(clippy::unwrap_used, clippy::panic))]
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]

Expand Down
2 changes: 2 additions & 0 deletions code/test/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#![forbid(unsafe_code)]
#![deny(trivial_casts, trivial_numeric_casts)]
// For coverage on nightly
#![allow(unexpected_cfgs)]
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]

mod address;
Expand Down
2 changes: 2 additions & 0 deletions code/vote/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
rustdoc::private_intra_doc_links,
variant_size_differences
)]
// For coverage on nightly
#![allow(unexpected_cfgs)]
#![cfg_attr(not(test), deny(clippy::unwrap_used, clippy::panic))]
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]

Expand Down

0 comments on commit 02a267c

Please sign in to comment.