From bfafa781c1414acafddfb6a99d08a3db669a0612 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois?= Date: Sat, 28 Jan 2023 19:00:27 +0000 Subject: [PATCH] re-enable tests on apple silicon (#7400) # Objective - Fixes #6687 ## Solution - The future is now! Rust 1.67 was released with the fix --- crates/bevy_time/src/time.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/crates/bevy_time/src/time.rs b/crates/bevy_time/src/time.rs index 111ba6f745..42050850b9 100644 --- a/crates/bevy_time/src/time.rs +++ b/crates/bevy_time/src/time.rs @@ -442,9 +442,6 @@ mod tests { } #[test] - // Don't run on a m1 as they have a 41ns precision - // https://github.com/rust-lang/rust/issues/91417 - #[cfg(not(all(target_arch = "aarch64", target_vendor = "apple")))] fn update_test() { let start_instant = Instant::now(); let mut time = Time::new(start_instant); @@ -577,9 +574,6 @@ mod tests { } #[test] - // Don't run on a m1 as they have a 41ns precision - // https://github.com/rust-lang/rust/issues/91417 - #[cfg(not(all(target_arch = "aarch64", target_vendor = "apple")))] fn relative_speed_test() { let start_instant = Instant::now(); let mut time = Time::new(start_instant); @@ -682,9 +676,6 @@ mod tests { } #[test] - // Don't run on a m1 as they have a 41ns precision - // https://github.com/rust-lang/rust/issues/91417 - #[cfg(not(all(target_arch = "aarch64", target_vendor = "apple")))] fn pause_test() { let start_instant = Instant::now(); let mut time = Time::new(start_instant);