src/Pure/System/platform.scala
changeset 72370 e25c0a6cc335
parent 72344 728da67527b9
child 73193 b8e12e94cfca
--- a/src/Pure/System/platform.scala	Sat Oct 03 15:11:30 2020 +0200
+++ b/src/Pure/System/platform.scala	Sat Oct 03 19:56:02 2020 +0200
@@ -39,12 +39,14 @@
   private val X86 = """i.86|x86""".r
   private val X86_64 = """amd64|x86_64""".r
   private val Arm64 = """arm64|aarch64""".r
+  private val Arm32 = """arm""".r
 
   def cpu_arch: String =
     System.getProperty("os.arch", "") match {
       case X86() => "x86"
       case X86_64() => "x86_64"
       case Arm64() => "arm64"
+      case Arm32() => "arm32"
       case _ => error("Failed to determine CPU architecture")
     }