diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2022-07-20 17:57:56 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2022-07-20 17:57:56 -0700 |
| commit | a14404a028943f9d59c881a32b09dd5cae909498 (patch) | |
| tree | 867e5d329f8e23916f434178cda59ce234532212 /library/portable-simd/crates/test_helpers/src/lib.rs | |
| parent | 246f66a905c2815f2c9b9c3d6b1e0649f3360ef8 (diff) | |
| parent | 2e081db92aa3ee0a4563bc28ce01bdad5b1b2efd (diff) | |
| download | rust-a14404a028943f9d59c881a32b09dd5cae909498.tar.gz rust-a14404a028943f9d59c881a32b09dd5cae909498.zip | |
Sync core::simd up to rust-lang/portable-simd@2e081db92aa3ee0a4563bc28ce01bdad5b1b2efd
Diffstat (limited to 'library/portable-simd/crates/test_helpers/src/lib.rs')
| -rw-r--r-- | library/portable-simd/crates/test_helpers/src/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/portable-simd/crates/test_helpers/src/lib.rs b/library/portable-simd/crates/test_helpers/src/lib.rs index 8bf7f5ed3d2..141bee18a9a 100644 --- a/library/portable-simd/crates/test_helpers/src/lib.rs +++ b/library/portable-simd/crates/test_helpers/src/lib.rs @@ -78,11 +78,11 @@ impl<T: core::fmt::Debug + DefaultStrategy, const LANES: usize> DefaultStrategy } #[cfg(not(miri))] -fn make_runner() -> proptest::test_runner::TestRunner { +pub fn make_runner() -> proptest::test_runner::TestRunner { Default::default() } #[cfg(miri)] -fn make_runner() -> proptest::test_runner::TestRunner { +pub fn make_runner() -> proptest::test_runner::TestRunner { // Only run a few tests on Miri proptest::test_runner::TestRunner::new(proptest::test_runner::Config::with_cases(4)) } |
