]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | error: operating system used in target family position |
2 | --> $DIR/mismatched_target_os_non_unix.rs:6:1 | |
3 | | | |
4 | LL | #[cfg(hermit)] | |
5 | | ^^^^^^------^^ | |
6 | | | | |
7 | | help: try: `target_os = "hermit"` | |
8 | | | |
9 | = note: `-D clippy::mismatched-target-os` implied by `-D warnings` | |
10 | ||
11 | error: operating system used in target family position | |
12 | --> $DIR/mismatched_target_os_non_unix.rs:9:1 | |
13 | | | |
14 | LL | #[cfg(wasi)] | |
15 | | ^^^^^^----^^ | |
16 | | | | |
17 | | help: try: `target_os = "wasi"` | |
18 | ||
19 | error: operating system used in target family position | |
20 | --> $DIR/mismatched_target_os_non_unix.rs:12:1 | |
21 | | | |
22 | LL | #[cfg(none)] | |
23 | | ^^^^^^----^^ | |
24 | | | | |
25 | | help: try: `target_os = "none"` | |
26 | ||
27 | error: operating system used in target family position | |
28 | --> $DIR/mismatched_target_os_non_unix.rs:16:1 | |
29 | | | |
30 | LL | #[cfg(all(not(windows), wasi))] | |
31 | | ^^^^^^^^^^^^^^^^^^^^^^^^----^^^ | |
32 | | | | |
33 | | help: try: `target_os = "wasi"` | |
34 | ||
35 | error: aborting due to 4 previous errors | |
36 |