Subject: bazel-zig-cc v0.7.1

From: Motiejus Jakštys <[email-masked]>
Date: Thu, 5 May 2022 15:24:25 +0300

Hi everyone,

I just cut bazel-zig-cc v0.7.1, which adds a workaround for the infamous
libc linking problem:

    net(.text): relocation target __errno_location not defined
    net(.text): relocation target getaddrinfo not defined
    <...>

Read about it, as well as related issues, in this github summary[1].
Many thanks to Andrew Kelley and Ken Micklas for working on it!

What is the cause? Because `zig cc` adds `--gc-sections` to the `ld.lld`
flags, which does not play well with cgo. So the workaround adds
`--no-gc-sections` to the linker flags for the time being.

Motiejus

[1]: https://github.com/ziglang/zig/pull/11577