From 90ceb2f896a4b4dd5a3767e1aef1d9cb21ef9300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 8 Feb 2022 14:39:29 +0200 Subject: [PATCH] [readme] fix aarch64 aliases --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index c6d8cec..81ff974 100644 --- a/README.md +++ b/README.md @@ -42,18 +42,18 @@ The snippets above will download the zig toolchain and register it for the following platforms: - `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"]`. -- `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 Go, the following Go-style toolchain aliases are created: -|Bazel (zig) name |Go name| ---- | --- -|`x86_64`|`amd64`| -|`aarch64`|`arm64`| -|`macos`|`darwin`| +|Bazel (zig) name | Go name | +|---------------- | -------- | +|`x86_64` | `amd64` | +|`aarch64` | `arm64` | +|`macos` | `darwin` | For example, the toolchain `linux_amd64_gnu.2.28` is aliased to `x86_64-linux-gnu.2.28`. To find out which toolchains can be registered or