haskell / haskell/cabal

Use incremental linking when available

Open
#3,261 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.