diff --git a/Makefile b/Makefile index 6d6b929bc5..35de9c871d 100644 --- a/Makefile +++ b/Makefile @@ -781,6 +781,10 @@ TYPOS_VERSION := $(shell grep -oP 'crate-ci/typos@\S+\s+\#\s+v\K[0-9.]+' .github # Map uname values to typos release asset names. TYPOS_ARCH := $(shell uname -m) +# typos release assets use aarch64, but macOS ARM reports arm64 via uname -m. +ifeq ($(TYPOS_ARCH),arm64) +TYPOS_ARCH := aarch64 +endif ifeq ($(shell uname -s),Darwin) TYPOS_OS := apple-darwin else