diff options
author | David Eichmann <EichmannD@gmail.com> | 2019-06-06 12:50:42 +0100 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-06-10 23:52:50 -0400 |
commit | 58a5d728d0293110d7e80aa1f067721447b20882 (patch) | |
tree | b9d18dd28d50c83c58fb5d17c5d9545e5dc723b5 /libraries/ghc-heap | |
parent | 0345b1b0f62c8fac72d07a7b848d14b9893e9ac9 (diff) | |
download | haskell-58a5d728d0293110d7e80aa1f067721447b20882.tar.gz |
Refactor the rules for .hi and .o into a single rule using `&%>` #16764
Currently the rule for .hi files just triggers (via need) the rule
for the .o file, and .o rule generates both the .o and .hi file.
Likewise for .o-boot and .hi-boot files. This is a bit of an abuse
of Shake, and in fact shake supports rules with multiple output
with the &%> function. This exact use case appears in Neil
Mitchell's paper *Shake Before Building* section 6.3.
Diffstat (limited to 'libraries/ghc-heap')
0 files changed, 0 insertions, 0 deletions