We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9c92311 + cb6178c commit 07e692eCopy full SHA for 07e692e
core/tests/coroutine.rs
@@ -114,6 +114,7 @@ fn coroutine_stack_growth() -> std::io::Result<()> {
114
Ok(())
115
}
116
117
+#[cfg(not(all(target_os = "linux", target_arch = "x86", feature = "preemptive")))]
118
#[test]
119
fn coroutine_trap() -> std::io::Result<()> {
120
let mut coroutine = co!(|_: &Suspender<'_, (), ()>, ()| {
@@ -130,7 +131,10 @@ fn coroutine_trap() -> std::io::Result<()> {
130
131
132
133
-#[cfg(not(debug_assertions))]
134
+#[cfg(not(any(
135
+ debug_assertions,
136
+ all(target_os = "linux", target_arch = "x86", feature = "preemptive")
137
+)))]
138
139
fn coroutine_invalid_memory_reference() -> std::io::Result<()> {
140
0 commit comments