# link.Lld: remove dead caching logic · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/808c15dd397f995d9bdf43664ee5644b39c9c863)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 808c15dd397f995d9bdf43664ee5644b39c9c863

Requested commit: 808c15dd397f995d9bdf43664ee5644b39c9c863

Commit: 808c15dd397f995d9bdf43664ee5644b39c9c863

Tree: 68ca882637676a120b3acac7ca4708d7271abb44

Author: mlugg

Committer: mlugg

## Message

```
link.Lld: remove dead caching logic

It turns out that LLD caching hasn't been in use for a while. On master,
it is currently only enabled when you compile via the build system,
passing `-fincremental`, using LLD (and so LLVM if there's a ZCU). That
case never happens, because `-fincremental` is only useful when you're
using a backend *other* than the LLVM backend. My previous commits
accidentally re-enabled this logic in some cases, exposing bugs; that
ultimately led to this realisation. So, let's just delete that logic --
less LLVM-related cruft to maintain.

```

## Parents

- [89ba8859704486d526a75434f18d5a25ff89d57b](https://git.cafe/gitcafe/zig/commit/89ba8859704486d526a75434f18d5a25ff89d57b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/808c15dd397f995d9bdf43664ee5644b39c9c863?format=markdown)
