1
Fork 0

[readme] fix aarch64 aliases

This commit is contained in:
Motiejus Jakštys 2022-02-08 14:39:29 +02:00
parent 3d166c5671
commit 90ceb2f896
1 changed files with 7 additions and 7 deletions

View File

@ -42,15 +42,15 @@ The snippets above will download the zig toolchain and register it for the
following platforms: following platforms:
- `x86_64-linux-gnu.2.19` for `["@platforms//os:linux", "@platforms//cpu:x86_64"]`. - `x86_64-linux-gnu.2.19` for `["@platforms//os:linux", "@platforms//cpu:x86_64"]`.
- `x86_64-linux-gnu.2.28` for `["@platforms//os:linux", "@platforms//cpu:arm64"]`. - `x86_64-linux-gnu.2.28` for `["@platforms//os:linux", "@platforms//cpu:aarch64"]`.
- `x86_64-macos-gnu` for `["@platforms//os:macos", "@platforms//cpu:x86_64"]`. - `x86_64-macos-gnu` for `["@platforms//os:macos", "@platforms//cpu:x86_64"]`.
- `aarch64-macos-gnu` for `["@platforms//os:macos", "@platforms//cpu:arm64"]`. - `aarch64-macos-gnu` for `["@platforms//os:macos", "@platforms//cpu:aarch64"]`.
Note that both Go and Bazel naming schemes are accepted. For convenience with Note that both Go and Bazel naming schemes are accepted. For convenience with
Go, the following Go-style toolchain aliases are created: Go, the following Go-style toolchain aliases are created:
|Bazel (zig) name | Go name | |Bazel (zig) name | Go name |
--- | --- |---------------- | -------- |
|`x86_64` | `amd64` | |`x86_64` | `amd64` |
|`aarch64` | `arm64` | |`aarch64` | `arm64` |
|`macos` | `darwin` | |`macos` | `darwin` |