|
1 | 1 | error: operating system used in target family position |
2 | 2 | --> $DIR/mismatched_target_os_non_unix.rs:6:1 |
3 | 3 | | |
4 | | -LL | #[cfg(cloudabi)] |
5 | | - | ^^^^^^--------^^ |
6 | | - | | |
7 | | - | help: try: `target_os = "cloudabi"` |
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 | 4 | LL | #[cfg(hermit)] |
15 | 5 | | ^^^^^^------^^ |
16 | 6 | | | |
17 | 7 | | help: try: `target_os = "hermit"` |
| 8 | + | |
| 9 | + = note: `-D clippy::mismatched-target-os` implied by `-D warnings` |
18 | 10 |
|
19 | 11 | error: operating system used in target family position |
20 | | - --> $DIR/mismatched_target_os_non_unix.rs:12:1 |
| 12 | + --> $DIR/mismatched_target_os_non_unix.rs:9:1 |
21 | 13 | | |
22 | 14 | LL | #[cfg(wasi)] |
23 | 15 | | ^^^^^^----^^ |
24 | 16 | | | |
25 | 17 | | help: try: `target_os = "wasi"` |
26 | 18 |
|
27 | 19 | error: operating system used in target family position |
28 | | - --> $DIR/mismatched_target_os_non_unix.rs:15:1 |
| 20 | + --> $DIR/mismatched_target_os_non_unix.rs:12:1 |
29 | 21 | | |
30 | 22 | LL | #[cfg(none)] |
31 | 23 | | ^^^^^^----^^ |
32 | 24 | | | |
33 | 25 | | help: try: `target_os = "none"` |
34 | 26 |
|
35 | 27 | error: operating system used in target family position |
36 | | - --> $DIR/mismatched_target_os_non_unix.rs:19:1 |
37 | | - | |
38 | | -LL | #[cfg(all(not(any(windows, cloudabi)), wasi))] |
39 | | - | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
40 | | - | |
41 | | -help: try |
42 | | - | |
43 | | -LL | #[cfg(all(not(any(windows, target_os = "cloudabi")), wasi))] |
44 | | - | ^^^^^^^^^^^^^^^^^^^^^^ |
45 | | -help: try |
| 28 | + --> $DIR/mismatched_target_os_non_unix.rs:16:1 |
46 | 29 | | |
47 | | -LL | #[cfg(all(not(any(windows, cloudabi)), target_os = "wasi"))] |
48 | | - | ^^^^^^^^^^^^^^^^^^ |
| 30 | +LL | #[cfg(all(not(windows), wasi))] |
| 31 | + | ^^^^^^^^^^^^^^^^^^^^^^^^----^^^ |
| 32 | + | | |
| 33 | + | help: try: `target_os = "wasi"` |
49 | 34 |
|
50 | | -error: aborting due to 5 previous errors |
| 35 | +error: aborting due to 4 previous errors |
51 | 36 |
|
0 commit comments