Skip to content

Commit

Permalink
*: remove coverage_attribute feature gate
Browse files Browse the repository at this point in the history
- coverage_attribute is now stable
- also remove coverage(off) from tests/, as cargo llvm-cov already takes
  care of excluding tests/ form coverage
  • Loading branch information
AMDmi3 committed Dec 28, 2024
1 parent 71c97e8 commit 6e81bcc
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 15 deletions.
2 changes: 0 additions & 2 deletions repology-vulnupdater/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// SPDX-License-Identifier: GPL-3.0-or-later

#![feature(duration_constructors)]
#![allow(stable_features)] // for coverage_attribute, remove after switching to newer nighly on prod
#![feature(coverage_attribute)]

mod args;
mod cpe;
Expand Down
3 changes: 0 additions & 3 deletions repology-webapp-test-utils/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2024 Dmitry Marakasov <[email protected]>
// SPDX-License-Identifier: GPL-3.0-or-later

#![allow(stable_features)] // for coverage_attribute, remove after switching to newer nighly on prod
#![feature(coverage_attribute)]

pub mod http;
pub mod tidy;

Expand Down
2 changes: 0 additions & 2 deletions repology-webapp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
// SPDX-License-Identifier: GPL-3.0-or-later

#![feature(iterator_try_collect)]
#![allow(stable_features)] // for coverage_attribute, remove after switching to newer nighly on prod
#![feature(coverage_attribute)]
#![feature(stmt_expr_attributes)]
#![feature(assert_matches)]
#![feature(duration_constructors)]
Expand Down
4 changes: 0 additions & 4 deletions repology-webapp/tests/integration.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// SPDX-FileCopyrightText: Copyright 2024 Dmitry Marakasov <[email protected]>
// SPDX-License-Identifier: GPL-3.0-or-later

#![allow(stable_features)] // for coverage_attribute, remove after switching to newer nighly on prod
#![feature(coverage_attribute)]
#![coverage(off)]

mod integration_tests;
4 changes: 0 additions & 4 deletions repology-webapp/tests/snapshot.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
// SPDX-FileCopyrightText: Copyright 2024 Dmitry Marakasov <[email protected]>
// SPDX-License-Identifier: GPL-3.0-or-later

#![allow(stable_features)] // for coverage_attribute, remove after switching to newer nighly on prod
#![feature(coverage_attribute)]
#![coverage(off)]

mod snapshot_tests;

0 comments on commit 6e81bcc

Please sign in to comment.