... | ... | @@ -10,6 +10,9 @@ There is some benefit (in terms of both bugs fixed and code removed) to removing |
|
|
Our solution is to switch GHCi from using the "static way", to using the "dynamic way". GHCi will then use the system linker to load the `.dll` for the library, rather than using the GHCi linker to load the `.a`.
|
|
|
|
|
|
|
|
|
(See [\#3658](https://gitlab.haskell.org//ghc/ghc/issues/3658) for related design decisions etc.)
|
|
|
|
|
|
|
|
|
For this to work, there is technically no need to change anything else: ghc could continue to compile for the static way by default. However, there are 2 problems that arise:
|
|
|
|
|
|
1. cabal-install would need to install libraries not only for the static way (for use by ghc), but also for the dynamic way (for use by ghci). This would double library installation times and disk usage.
|
... | ... | |