mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-12-23 19:43:20 +00:00
36 lines
1,003 B
Text
36 lines
1,003 B
Text
error: operating system used in target family position
|
|
--> $DIR/mismatched_target_os_non_unix.rs:6:1
|
|
|
|
|
LL | #[cfg(hermit)]
|
|
| ^^^^^^------^^
|
|
| |
|
|
| help: try: `target_os = "hermit"`
|
|
|
|
|
= note: `-D clippy::mismatched-target-os` implied by `-D warnings`
|
|
|
|
error: operating system used in target family position
|
|
--> $DIR/mismatched_target_os_non_unix.rs:9:1
|
|
|
|
|
LL | #[cfg(wasi)]
|
|
| ^^^^^^----^^
|
|
| |
|
|
| help: try: `target_os = "wasi"`
|
|
|
|
error: operating system used in target family position
|
|
--> $DIR/mismatched_target_os_non_unix.rs:12:1
|
|
|
|
|
LL | #[cfg(none)]
|
|
| ^^^^^^----^^
|
|
| |
|
|
| help: try: `target_os = "none"`
|
|
|
|
error: operating system used in target family position
|
|
--> $DIR/mismatched_target_os_non_unix.rs:16:1
|
|
|
|
|
LL | #[cfg(all(not(windows), wasi))]
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^----^^^
|
|
| |
|
|
| help: try: `target_os = "wasi"`
|
|
|
|
error: aborting due to 4 previous errors
|
|
|