Commit e4107f8
committed
Auto merge of rust-lang#79113 - andjo403:raw_vec_ptr, r=m-ou-se
mark raw_vec::ptr with inline
when a lot of vectors is used in a enum as in the example in rust-lang#66617 if this function is not inlined and multiple cgus is used this results in huge compile times. with this fix the compile time is 6s from minutes for the example in rust-lang#66617. I did not have the patience to wait for it to compile for more then 3 min.1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
232 | 232 | | |
233 | 233 | | |
234 | 234 | | |
| 235 | + | |
235 | 236 | | |
236 | 237 | | |
237 | 238 | | |
| |||
0 commit comments