Skip to content

Commit

Permalink
sys: update Env.arch to doc aarch64 for new Macs
Browse files Browse the repository at this point in the history
  • Loading branch information
briansfrank committed Jun 18, 2024
1 parent de98950 commit e51f631
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/sys/fan/Env.fan
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ abstract const class Env
** - "sparc"
** - "ia64"
** - "ia64_32"
** - "aarch64"
**
Str arch()

Expand Down
5 changes: 3 additions & 2 deletions src/testSys/fan/EnvTest.fan
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down Expand Up @@ -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!")
}
}
}

0 comments on commit e51f631

Please sign in to comment.