# std.zig.system.NativeTargetInfo: restore symlink logic · gitcafe/zig

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

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

Visibility: public

Requested revision: 9f40f34501ef086d18e4570416c078a7ad508628

Requested commit: 9f40f34501ef086d18e4570416c078a7ad508628

Commit: 9f40f34501ef086d18e4570416c078a7ad508628

Tree: d4c24be3d5c7fa50f96fc54e7880f0c37bba422f

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
std.zig.system.NativeTargetInfo: restore symlink logic

This is a partial revert of the previous commit, fixing a regression on
Debian. However, the commit additionally improves the
detectAbiAndDynamicLinker function to read more than 1 byte at a time
when detecting a shebang line.

```

## Parents

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

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