Javascript: Don't filter out rtsDeps list
This logic appears to be incorrect as it would drop any dependency which was not in a direct dependency of the package being linked. In the ghc-internals split this started to cause errors because `ghc-internal` is not a direct dependency of most packages, and hence important symbols to keep which are hard coded into the js runtime were getting dropped.
Showing
- compiler/GHC/StgToJS/Linker/Linker.hs 3 additions, 18 deletionscompiler/GHC/StgToJS/Linker/Linker.hs
- testsuite/tests/driver/MergeObjsMode/all.T 0 additions, 1 deletiontestsuite/tests/driver/MergeObjsMode/all.T
- testsuite/tests/driver/T1959/test.T 1 addition, 1 deletiontestsuite/tests/driver/T1959/test.T
- testsuite/tests/driver/recomp008/all.T 1 addition, 2 deletionstestsuite/tests/driver/recomp008/all.T
Please register or sign in to comment