2020-04-26 14:26:19 -05:00
|
|
|
error: operating system used in target family position
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/mismatched_target_os_non_unix.rs:4:1
|
2020-04-26 14:26:19 -05:00
|
|
|
|
|
|
|
|
LL | #[cfg(hermit)]
|
|
|
|
| ^^^^^^------^^
|
|
|
|
| |
|
|
|
|
| help: try: `target_os = "hermit"`
|
2020-10-27 08:10:31 -05:00
|
|
|
|
|
|
|
|
= note: `-D clippy::mismatched-target-os` implied by `-D warnings`
|
2023-08-01 07:02:21 -05:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::mismatched_target_os)]`
|
2020-04-26 14:26:19 -05:00
|
|
|
|
|
|
|
error: operating system used in target family position
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/mismatched_target_os_non_unix.rs:7:1
|
2020-04-26 14:26:19 -05:00
|
|
|
|
|
|
|
|
LL | #[cfg(wasi)]
|
|
|
|
| ^^^^^^----^^
|
|
|
|
| |
|
|
|
|
| help: try: `target_os = "wasi"`
|
|
|
|
|
|
|
|
error: operating system used in target family position
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/mismatched_target_os_non_unix.rs:10:1
|
2020-04-26 14:26:19 -05:00
|
|
|
|
|
|
|
|
LL | #[cfg(none)]
|
|
|
|
| ^^^^^^----^^
|
|
|
|
| |
|
|
|
|
| help: try: `target_os = "none"`
|
|
|
|
|
|
|
|
error: operating system used in target family position
|
2024-02-17 06:16:29 -06:00
|
|
|
--> tests/ui/mismatched_target_os_non_unix.rs:14:1
|
2020-04-26 14:26:19 -05:00
|
|
|
|
|
2020-10-27 08:10:31 -05:00
|
|
|
LL | #[cfg(all(not(windows), wasi))]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^----^^^
|
|
|
|
| |
|
|
|
|
| help: try: `target_os = "wasi"`
|
2020-04-26 14:26:19 -05:00
|
|
|
|
2020-10-27 08:10:31 -05:00
|
|
|
error: aborting due to 4 previous errors
|
2020-04-26 14:26:19 -05:00
|
|
|
|