1
Fork 0
hermetic_cc_toolchain/toolchain
Motiejus Jakštys 9ce21b5276 [zig ld] --gc-sections workaround + tests
`zig cc` emits `--gc-sections` for the linker, which is incompatbile
with what CGo thinks about linking.

This commit adds a workaround: it will add `--no-gc-sections` to the
linking step if the command is not specified (falling back to the
default behavior of gcc/clang).

Related: https://github.com/golang/go/issues/52690
2022-05-05 13:36:58 +03:00
..
libc Add libc constraint and libc aware toolchains 2022-04-14 14:29:06 +00:00
libc_aware Add libc constraint and libc aware toolchains 2022-04-14 14:29:06 +00:00
platform Add libc constraint and libc aware toolchains 2022-04-14 14:29:06 +00:00
private remove support for glibc autodetection; this is a hermetic toolchain 2022-04-18 11:45:09 +03:00
toolchain Add libc constraint and libc aware toolchains 2022-04-14 14:29:06 +00:00
BUILD add .build.yml 2021-06-08 06:28:15 +03:00
BUILD.sdk.bazel Add libc constraint and libc aware toolchains 2022-04-14 14:29:06 +00:00
defs.bzl [zig ld] --gc-sections workaround + tests 2022-05-05 13:36:58 +03:00
zig_toolchain.bzl buildifier 2021-06-10 13:12:54 +03:00