Use incremental linking when available
Open
Cabal: other
re: dynamic-linking
type: enhancement
- Dominant language
- Haskell
- Stars
- 1.7k
- Forks
- 750
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 28
Description
Linking libraries is always done, even when there are no changes to .o/.so files. It is a big source of recompilation latency in the no-op case (the other source of latency is compiler `ghc --make` latency).
The Gold linker supports incremental linking https://gcc.gnu.org/wiki/GoldIncrementalLinking
We should use it when possible.
Contributor guide
Assessment
This issue has not been assessed yet.