diff options
| author | bjorn3 <bjorn3@users.noreply.github.com> | 2021-12-26 15:05:12 +0100 |
|---|---|---|
| committer | bjorn3 <bjorn3@users.noreply.github.com> | 2022-01-01 16:56:03 +0100 |
| commit | 043745cb9688fbecd97638b2fa156cb055bbbb14 (patch) | |
| tree | 6c722e08e3fdfc9508306fd6e5986718ebe168bd /tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff | |
| parent | 2fe2728fa900a708d2c70342d9d6737e5462cf5d (diff) | |
| download | rust-043745cb9688fbecd97638b2fa156cb055bbbb14.tar.gz rust-043745cb9688fbecd97638b2fa156cb055bbbb14.zip | |
Avoid the merge derive macro in rustbuild
The task of the macro is simple enough that a decl macro is almost ten times shorter than the original proc macro. The proc macro is 159 lines while the decl macro is just 18 lines. This reduces the amount of dependencies of rustbuild from 45 to 37. It also slight reduces compilation time from 47s to 44s for debug builds.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len.NormalizeArrayLen.panic-abort.diff')
0 files changed, 0 insertions, 0 deletions
