Skip to content

Commit

Permalink
new default
Browse files Browse the repository at this point in the history
  • Loading branch information
hadim committed Nov 15, 2024
1 parent 5d1a8ad commit 911e574
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/opt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ pub struct BuildOpts {
pub no_test: bool,

/// The strategy to use for running tests
#[arg(long, default_value = "native", help_heading = "Modifying result")]
#[arg(long, default_value = "native-and-emulated", help_heading = "Modifying result")]
pub test: TestStrategy,

/// Don't force colors in the output of the build script
Expand Down
2 changes: 1 addition & 1 deletion src/tool_configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ pub enum TestStrategy {
/// Run the tests only if the build platform is the same as the host platform.
/// Otherwise, skip the tests. If the target platform is noarch,
/// the tests are always executed.
#[default]
Native,
/// Always run the tests
#[default]
NativeAndEmulated,
}

Expand Down

0 comments on commit 911e574

Please sign in to comment.