Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

rust: pin-init: examples: pthread_mutex: disable the main test for miri

`miri` takes a long time to execute the test, so disable it.

Link: https://github.com/Rust-for-Linux/pin-init/pull/50/commits/e717a9eec85024c11e79e8bd9dcb664ad0de8f94
Link: https://lore.kernel.org/all/20250523125424.192843-3-lossin@kernel.org
Signed-off-by: Benno Lossin <lossin@kernel.org>

authored by

Benno Lossin and committed by
Benno Lossin
2408678d 58cebd68

+1 -1
+1 -1
rust/pin-init/examples/pthread_mutex.rs
··· 139 139 } 140 140 } 141 141 142 - #[cfg_attr(test, test)] 142 + #[cfg_attr(all(test, not(miri)), test)] 143 143 fn main() { 144 144 #[cfg(all(any(feature = "std", feature = "alloc"), not(windows)))] 145 145 {