1

change @com_github_ziglang_zig to @zig_sdk

This commit is contained in:
2021-06-10 09:34:59 +03:00
committed by Motiejus Jakštys
parent 23f26dfa7e
commit 4bd7b30f65
4 changed files with 9 additions and 9 deletions

View File

@@ -35,13 +35,13 @@ $ file ../bazel-bin/test/gognu_/gognu
Explicitly the toolchain explicitly `-gnu`:
```
$ bazel run --platforms @com_github_ziglang_zig//:platform_x86_64-linux-gnu //test:gognu
$ bazel run --platforms @zig_sdk//:platform_x86_64-linux-gnu //test:gognu
```
## linux cgo + musl
```
$ bazel build --platforms @com_github_ziglang_zig//:platform_x86_64-linux-musl //test:gomusl
$ bazel build --platforms @zig_sdk//:platform_x86_64-linux-musl //test:gomusl
...
$ file ../bazel-out/k8-fastbuild-ST-d17813c235ce/bin/test/gomusl_/gomusl
../bazel-out/k8-fastbuild-ST-d17813c235ce/bin/test/gomusl_/gomusl: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, Go BuildID=redacted, with debug_info, not stripped
@@ -54,7 +54,7 @@ hello, world
Does not work?
```
$ bazel build --platforms @com_github_ziglang_zig//:platform_x86_64-macos-musl //test:gognu
$ bazel build --platforms @zig_sdk//:platform_x86_64-macos-musl //test:gognu
...
```