Skip to content

Commit

Permalink
*: update coverage_attribute handling
Browse files Browse the repository at this point in the history
- remove allow(stable_features), coverage_attribute stabilization was
  reverted
- 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 2c41294
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion repology-vulnupdater/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +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;
Expand Down
1 change: 0 additions & 1 deletion repology-webapp-test-utils/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +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;
Expand Down
1 change: 0 additions & 1 deletion repology-webapp/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +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)]
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 2c41294

Please sign in to comment.