[Git][ghc/ghc][wip/js-staging] Temporary fix the testsuite bug
Sylvain Henry (@hsyl20)
gitlab at gitlab.haskell.org
Tue Sep 27 14:36:15 UTC 2022
Sylvain Henry pushed to branch wip/js-staging at Glasgow Haskell Compiler / GHC
Commits:
82bc5ad5 by Sylvain Henry at 2022-09-27T16:39:16+02:00
Temporary fix the testsuite bug
- - - - -
1 changed file:
- compiler/GHC/Driver/Pipeline/Execute.hs
Changes:
=====================================
compiler/GHC/Driver/Pipeline/Execute.hs
=====================================
@@ -363,7 +363,13 @@ runJsPhase pipe_env hsc_env input_fn = do
-- the header lets the linker recognize processed JavaScript files
-- But don't add JavaScript header to object files!
- is_js_obj <- isJsObjectFile input_fn
+
+ is_js_obj <- if True
+ then pure False
+ else isJsObjectFile input_fn
+ -- FIXME (Sylvain 2022-09): this call makes the
+ -- testsuite go into a loop, I don't know why yet!
+ -- Disabling it for now.
if is_js_obj
then copyWithHeader "" input_fn output_fn
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/82bc5ad58df4f8eac6c288cc645682e468ce6036
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/82bc5ad58df4f8eac6c288cc645682e468ce6036
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20220927/ac974747/attachment.html>
More information about the ghc-commits
mailing list