From 0147c3f2cb33320d851c57f64d328d9716d9b15f Mon Sep 17 00:00:00 2001 From: Henry Date: Sun, 30 Jun 2024 02:35:29 -0400 Subject: [PATCH] Fix for 'brew style' --- Library/Homebrew/hardware.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/hardware.rb b/Library/Homebrew/hardware.rb index 087b497619..1d50182560 100644 --- a/Library/Homebrew/hardware.rb +++ b/Library/Homebrew/hardware.rb @@ -231,7 +231,7 @@ module Hardware # Rust already defaults to the oldest supported cpu for each target-triplet # so it's safe to ignore generic archs such as :armv6 here. # Rust defaults to apple-m1 since Rust 1.71 for aarch64-apple-darwin. - @target_cpu ||= case (arch) + @target_cpu ||= case arch when :core :prescott when :native, :ivybridge, :sandybridge, :westmere, :nehalem, :core2