Skip to content

Commit

Permalink
Fix for 'brew style'
Browse files Browse the repository at this point in the history
  • Loading branch information
git-mann committed Jun 30, 2024
1 parent 22d42ef commit 0147c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/hardware.rb
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def rustflags_target_cpu(arch)
# 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
Expand Down

0 comments on commit 0147c3f

Please sign in to comment.