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.
1 parent f4a1d49 commit 37fbed1Copy full SHA for 37fbed1
examples/window_run_return.rs
@@ -3,7 +3,7 @@
3
// SPDX-License-Identifier: Apache-2.0
4
5
// Limit this example to only compatible platforms.
6
-#[cfg(any(target_os = "windows", target_os = "macos",))]
+#[cfg(not(target_os = "ios"))]
7
#[allow(clippy::single_match)]
8
fn main() {
9
use std::{thread::sleep, time::Duration};
@@ -53,15 +53,7 @@ fn main() {
53
}
54
55
56
-#[cfg(any(
57
- target_os = "ios",
58
- target_os = "android",
59
- target_os = "linux",
60
- target_os = "dragonfly",
61
- target_os = "freebsd",
62
- target_os = "netbsd",
63
- target_os = "openbsd"
64
-))]
+#[cfg(target_os = "ios")]
65
66
println!("This platform doesn't support run_return.");
67
0 commit comments