mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-15 18:15:01 +00:00
37 lines
1003 B
Plaintext
37 lines
1003 B
Plaintext
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
|
|
|