Commit afd8d39
committed
Split
In `Cargo.toml`:
- Add thin LTO to `release` profile.
- Create `release-opt` profile with fat LTO and other slow
optimizations, as well as stripping all symbols.
- Remove some old commented out configuration that has been
superseded by more granular configuration (separate from the
above changes)
In the `release.yml` CI workflow:
- Build `release-opt` rather than `release` workflow.
- Use an environment variable to name the `release-opt` profile so
it is easy to change and identify (and make the style in which
long options are passed more consistent).
- Remove explicit stripping of debug symbols, since `release-opt`
does that.
- *Temporarily* disable the step that takes the release from draft
to published, to avoid publishing more "DO-NOT-USE" releases than
necessary when testing the workflow (since, for example, it is
possible for them to appear in users' "Home" feeds on GitHub).
This change must be undone, so the workflow will really publish.release profile into release and release-opt
1 parent 29898e3 commit afd8d39
2 files changed
+17
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
142 | 143 | | |
143 | 144 | | |
144 | 145 | | |
| |||
171 | 172 | | |
172 | 173 | | |
173 | 174 | | |
174 | | - | |
| 175 | + | |
175 | 176 | | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
| 177 | + | |
191 | 178 | | |
192 | 179 | | |
193 | 180 | | |
| |||
200 | 187 | | |
201 | 188 | | |
202 | 189 | | |
203 | | - | |
204 | | - | |
| 190 | + | |
| 191 | + | |
205 | 192 | | |
206 | 193 | | |
207 | 194 | | |
| |||
210 | 197 | | |
211 | 198 | | |
212 | 199 | | |
213 | | - | |
214 | | - | |
| 200 | + | |
| 201 | + | |
215 | 202 | | |
216 | 203 | | |
217 | 204 | | |
| |||
346 | 333 | | |
347 | 334 | | |
348 | 335 | | |
349 | | - | |
| 336 | + | |
| 337 | + | |
350 | 338 | | |
351 | 339 | | |
352 | 340 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
210 | | - | |
| 209 | + | |
| 210 | + | |
211 | 211 | | |
212 | | - | |
213 | | - | |
| 212 | + | |
214 | 213 | | |
215 | 214 | | |
216 | 215 | | |
217 | | - | |
218 | | - | |
219 | | - | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
220 | 221 | | |
221 | 222 | | |
222 | 223 | | |
| |||
0 commit comments