Skip to content

Commit

Permalink
chore: set --lcov-version default to 1 (#9463)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Dec 3, 2024
1 parent e5dbb7a commit 7f8154c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions crates/forge/bin/cmd/coverage.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,9 @@ pub struct CoverageArgs {
///
/// Main differences:
/// - `1.x`: The original v1 format.
/// - `2.0`: Adds support for "line end" numbers for functions. LCOV 2.1 and onwards may emit
/// an error if this option is not provided.
/// - `2.0`: Adds support for "line end" numbers for functions.
/// - `2.2`: Changes the format of functions.
#[arg(long, default_value = "1.16", value_parser = parse_lcov_version)]
#[arg(long, default_value = "1", value_parser = parse_lcov_version)]
lcov_version: Version,

/// Enable viaIR with minimum optimization
Expand Down

0 comments on commit 7f8154c

Please sign in to comment.