From e51f6310e9064ee3ae007092e5d24174dec17837 Mon Sep 17 00:00:00 2001 From: Brian Frank Date: Tue, 18 Jun 2024 11:24:54 -0400 Subject: [PATCH] sys: update Env.arch to doc aarch64 for new Macs --- src/sys/fan/Env.fan | 1 + src/testSys/fan/EnvTest.fan | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/sys/fan/Env.fan b/src/sys/fan/Env.fan index 32c516f45..bf4502014 100755 --- a/src/sys/fan/Env.fan +++ b/src/sys/fan/Env.fan @@ -65,6 +65,7 @@ abstract const class Env ** - "sparc" ** - "ia64" ** - "ia64_32" + ** - "aarch64" ** Str arch() diff --git a/src/testSys/fan/EnvTest.fan b/src/testSys/fan/EnvTest.fan index ffa57b30e..d02ed579a 100644 --- a/src/testSys/fan/EnvTest.fan +++ b/src/testSys/fan/EnvTest.fan @@ -61,7 +61,7 @@ class EnvTest : Test { // valid known list of os and arch constants os := ["win32", "macosx", "linux", "aix", "solaris", "hpux", "qnx"] - arch := ["x86", "x86_64", "ppc", "sparc", "ia64", "ia64_32"] + arch := ["x86", "x86_64", "ppc", "sparc", "ia64", "ia64_32", "aarch64"] runtime := ["java", "dotnet", "js"] verify(os.contains(Env.cur.os)) @@ -482,4 +482,5 @@ public class EnvShutdownHookTest if (Env.cur.removeShutdownHook(f4) != true) echo("f4 error!") if (Env.cur.removeShutdownHook(f5) != false) echo("f5 error!") } -} \ No newline at end of file +} +