Repository navigation
Commit 487353e
committed
fix(tests): the enum-header assertions belong INSIDE the linux guard
macOS and Windows failed while both Linux legs passed, and the cause was in
this PR rather than in any package: the 1.49.1 enum-header includes were
appended at the END of the file, past the `#endif` that closes
`#ifdef __linux__`. So they compiled on platforms where the dependency is
never fetched — the example gates it with `cfg(linux)` — and the scan failed
before anything was built.
Appending to a file is not the same as adding to it. Moved above the `#else`,
where the rest of the test lives; verified it still passes on Linux.1 parent 73052f4 commit 487353e
1 file changed
Lines changed: 6 additions & 6 deletions
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | 96 | | |
103 | 97 | | |
104 | 98 | | |
| |||
117 | 111 | | |
118 | 112 | | |
119 | 113 | | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
0 commit comments