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: e717a9eec8
Link: https://lore.kernel.org/all/20250523125424.192843-3-lossin@kernel.org
Signed-off-by: Benno Lossin <lossin@kernel.org>
This commit is contained in:
Benno Lossin 2025-05-23 14:54:12 +02:00 committed by Benno Lossin
parent 58cebd6888
commit 2408678d70

View file

@ -139,7 +139,7 @@ mod pthread_mtx {
}
}
#[cfg_attr(test, test)]
#[cfg_attr(all(test, not(miri)), test)]
fn main() {
#[cfg(all(any(feature = "std", feature = "alloc"), not(windows)))]
{