mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
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:
parent
58cebd6888
commit
2408678d70
1 changed files with 1 additions and 1 deletions
|
@ -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)))]
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue