mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Fix for 'brew style'
This commit is contained in:
parent
22d42efb5c
commit
0147c3f2cb
@ -231,7 +231,7 @@ module Hardware
|
|||||||
# Rust already defaults to the oldest supported cpu for each target-triplet
|
# Rust already defaults to the oldest supported cpu for each target-triplet
|
||||||
# so it's safe to ignore generic archs such as :armv6 here.
|
# 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.
|
# Rust defaults to apple-m1 since Rust 1.71 for aarch64-apple-darwin.
|
||||||
@target_cpu ||= case (arch)
|
@target_cpu ||= case arch
|
||||||
when :core
|
when :core
|
||||||
:prescott
|
:prescott
|
||||||
when :native, :ivybridge, :sandybridge, :westmere, :nehalem, :core2
|
when :native, :ivybridge, :sandybridge, :westmere, :nehalem, :core2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user