diff --git a/Library/Homebrew/hardware.rb b/Library/Homebrew/hardware.rb index 13920d61da..ed4034c48a 100644 --- a/Library/Homebrew/hardware.rb +++ b/Library/Homebrew/hardware.rb @@ -219,8 +219,8 @@ module Hardware # Defaults to nil. sig { returns(T.nilable(String)) } def rustflags_target_cpu - # Rust already defaults to the oldest supported cpu for each target-triple - # so it's safe to ignore generic archs such as :armv6, etc., here. + # 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 (cpu = oldest_cpu) when :core