Fix for 'brew style'

This commit is contained in:
Henry 2024-06-30 02:35:29 -04:00
parent 22d42efb5c
commit 0147c3f2cb
No known key found for this signature in database
GPG Key ID: 03108A8D9159E2AE

View File

@ -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