Repository navigation
Commit 9e818e8
build(windows): skip the startup delay-load list in test builds
Builds with the `test` feature also link rustup-init's empty test and
bench harnesses, which don't import the DLLs in the startup delay-load
list, so `/WX` turns the unused `/delayload` (LNK4199) into a link
error. Only add the list when the `test` feature is off, and revert the
`test = false` / `bench = false` workaround from 958542d.1 parent 47cbeb3 commit 9e818e8
2 files changed
Lines changed: 11 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | 166 | | |
177 | 167 | | |
178 | 168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
82 | 88 | | |
83 | 89 | | |
84 | 90 | | |
| |||
0 commit comments