Skip to content

fixup! hadrian: build ghc-stageN wrapper when building the stageN:exe:ghc-bin target

Stefan Schulze Frielinghaus requested to merge wip/stefansf/fix-stage3-rule into master

This is a fixup to commit c83e4d05. Running build stage3:exe:ghc-bin results in

Error when running Shake build system:
  at want, called at src/Main.hs:104:30 in main:Main
* Depends on: stage3:exe:ghc-bin
  at need, called at src/Rules/SimpleTargets.hs:37:5 in main:Rules.SimpleTargets
* Depends on: _build/ghc-stage3
  at error, called at src/Development/Shake/Internal/Rules/File.hs:179:58 in shake-0.19.4-06370b7e52fa6754b4dcb4a59262762fd2a12a188b5563ce14b1ca4d368a81b3:Development.Shake.Internal.Rules.File
* Raised the exception:
Error, file does not exist and no rule available:
  _build/ghc-stage3

which is fixed by this MR.

Merge request reports