aboutsummaryrefslogtreecommitdiffhomepage
path: root/testdata
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2024-08-06 12:44:01 +0200
committerAyke van Laethem <[email protected]>2024-08-06 13:33:25 +0200
commitb78b7fe2c5941efb17e0655fd14301a3af9d8db5 (patch)
tree2cf4791961d6b96e3ef2b0af7aca5909e9f3561a /testdata
parent020664591ab3a995d6d0aab5097c6fab838a925c (diff)
downloadtinygo-canonical-arch-name.tar.gz
tinygo-canonical-arch-name.zip
compileopts: add CanonicalArchName to centralize arch detectioncanonical-arch-name
It's possible to detect the architecture from the target triple, but there are a number of exceptions that make it unpleasant to use for this purpose. There are just too many weird exceptions (like mips vs mipsel, and armv6m vs thumv6m vs arm64 vs aarch64) so it's better to centralize these to canonical architecture names. I picked the architecture names that happen to match the musl architecture names, because those seem the most natural to me.
Diffstat (limited to 'testdata')
0 files changed, 0 insertions, 0 deletions