Commits on Source (2)
-
We shouldn't compare pointer values but the actual bytes.
cb4dbc0c -
The idea being that when a builder('s command) fails, we quite likely want to have all the information available to figure out why. Depending on the builder _and_ the particular problem, the useful bits of information can be printed on stdout or stderr. We accomplish this by defining a simple wrapper for Shake's `cmd` function, that just _always_ captures both streams in case the command returns a non-zero exit code, and by using this wrapper everywhere in `hadrian/src/Builder.hs`. Fixes #18089.
e74b9ee2
Showing
- hadrian/src/Builder.hs 28 additions, 21 deletionshadrian/src/Builder.hs
- libraries/template-haskell/Language/Haskell/TH/Syntax.hs 42 additions, 1 deletionlibraries/template-haskell/Language/Haskell/TH/Syntax.hs
- libraries/template-haskell/changelog.md 6 additions, 0 deletionslibraries/template-haskell/changelog.md
- testsuite/tests/th/TH_BytesShowEqOrd.hs 40 additions, 0 deletionstestsuite/tests/th/TH_BytesShowEqOrd.hs
- testsuite/tests/th/TH_BytesShowEqOrd.stdout 6 additions, 0 deletionstestsuite/tests/th/TH_BytesShowEqOrd.stdout
- testsuite/tests/th/all.T 1 addition, 0 deletionstestsuite/tests/th/all.T
testsuite/tests/th/TH_BytesShowEqOrd.hs
0 → 100644
testsuite/tests/th/TH_BytesShowEqOrd.stdout
0 → 100644