mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Wording
Co-authored-by: Alexander Bayandin <alexander@bayandin.dev>
This commit is contained in:
parent
55bdbabaae
commit
521fdcb506
@ -219,8 +219,8 @@ module Hardware
|
|||||||
# Defaults to nil.
|
# Defaults to nil.
|
||||||
sig { returns(T.nilable(String)) }
|
sig { returns(T.nilable(String)) }
|
||||||
def rustflags_target_cpu
|
def rustflags_target_cpu
|
||||||
# Rust already defaults to the oldest supported cpu for each target-triple
|
# Rust already defaults to the oldest supported cpu for each target-triplet
|
||||||
# so it's safe to ignore generic archs such as :armv6, etc., 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 (cpu = oldest_cpu)
|
@target_cpu ||= case (cpu = oldest_cpu)
|
||||||
when :core
|
when :core
|
||||||
|
Loading…
x
Reference in New Issue
Block a user