1

Rename bazel-zig-cc to hermetic_cc_toolchain (#36)

As it says on the tin.

Long live hermetic_cc_toolchain!
This commit is contained in:
Motiejus Jakštys
2023-04-21 17:00:03 +03:00
committed by GitHub
parent 73a9ceccfb
commit e0e7a4ca46
31 changed files with 85 additions and 85 deletions

View File

@@ -9,9 +9,9 @@ gc_linkopts values that are needed to compile for macos target.
To use it, add this map_kind gazelle directive to your BUILD.bazel files
where target binary needs to be compiled with zig toolchain.
Example: if this toolchain is registered as bazel-zig-cc in your WORKSPACE, add this to
Example: if this toolchain is registered as hermetic_cc_toolchain in your WORKSPACE, add this to
your root BUILD file
# gazelle:map_kind go_binary go_binary @bazel-zig-cc//rules:rules_go.bzl
# gazelle:map_kind go_binary go_binary @hermetic_cc_toolchain//rules:rules_go.bzl
"""
_MACOS_GC_LINKOPTS = ["-s", "-w", "-buildmode=pie"]