1
hermetic_cc_toolchain/test
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
..
c example transitions only change platforms, leave toolchains for WORKSPACE 2022-04-18 12:40:17 +03:00
cgo [zig ld] --gc-sections workaround + tests 2022-05-05 13:36:58 +03:00
gorace [zig ld] --gc-sections workaround + tests 2022-05-05 13:36:58 +03:00