From 911e574d03d421be98bb5745e7a3f1828868454f Mon Sep 17 00:00:00 2001 From: Hadrien Mary Date: Fri, 15 Nov 2024 07:38:41 -0500 Subject: [PATCH] new default --- src/opt.rs | 2 +- src/tool_configuration.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/opt.rs b/src/opt.rs index 6b80b5f5..c05ede25 100644 --- a/src/opt.rs +++ b/src/opt.rs @@ -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 diff --git a/src/tool_configuration.rs b/src/tool_configuration.rs index b94dce31..4444d5ea 100644 --- a/src/tool_configuration.rs +++ b/src/tool_configuration.rs @@ -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, }