Skip to content

Commit 196fcb0

Browse files
miojirutka
authored andcommitted
community/lcov2cobertura: remove deprecated lints to fix build
Extend the existing list of deprecated lints being removed to fix build. An upstream commit removed some but not all of the blocking ones, so add to the existing list for now. ``` error: lint `unsupported_calling_conventions` has been removed: converted into hard error | = note: requested on the command line with `-F unsupported_calling_conventions` = note: `-D renamed-and-removed-lints` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(renamed_and_removed_lints)]` error: lint `deprecated_cfg_attr_crate_type_name` has been removed: converted into hard error, see issue #91632 <rust-lang/rust#91632> for more information | = note: requested on the command line with `-F deprecated_cfg_attr_crate_type_name` error: lint `cenum_impl_drop_cast` has been removed: converted into hard error, see <rust-lang/rust#73333> for more information | = note: requested on the command line with `-F cenum_impl_drop_cast` error: could not compile `lcov2cobertura` (lib) due to 3 previous errors ``` See also: mike-kfed/lcov2cobertura@48f7c9a
1 parent 70726ed commit 196fcb0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

community/lcov2cobertura/APKBUILD

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Maintainer: Jakub Jirutka <[email protected]>
33
pkgname=lcov2cobertura
44
pkgver=1.0.5
5-
pkgrel=0
5+
pkgrel=1
66
pkgdesc="Converts lcov info files to Corbertura XML"
77
url="https://github.com/mike-kfed/lcov2cobertura"
88
arch="all"
@@ -23,6 +23,9 @@ prepare() {
2323
-e '/pointer-structural-match/d' \
2424
-e '/indirect-structural-match/d' \
2525
-e '/where-clauses-object-safety/d' \
26+
-e '/unsupported-calling-conventions/d' \
27+
-e '/deprecated-cfg-attr-crate-type-name/d' \
28+
-e '/cenum-impl-drop-cast/d' \
2629
Cargo.toml lcov2cobertura/Cargo.toml
2730

2831
cp "$srcdir"/Cargo.lock .

0 commit comments

Comments
 (0)