mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
prof: allow to run on Apple Silicon
This commit is contained in:
parent
1781f01d28
commit
68246e48c7
@ -13,8 +13,6 @@ module Homebrew
|
||||
Homebrew::CLI::Parser.new do
|
||||
description <<~EOS
|
||||
Run Homebrew with a Ruby profiler. For example, `brew prof readall`.
|
||||
|
||||
*Note:* Not (yet) working on Apple Silicon.
|
||||
EOS
|
||||
switch "--stackprof",
|
||||
description: "Use `stackprof` instead of `ruby-prof` (the default)."
|
||||
@ -24,8 +22,6 @@ module Homebrew
|
||||
end
|
||||
|
||||
def prof
|
||||
raise UsageError, "not (yet) working on Apple Silicon!" if Hardware::CPU.arm?
|
||||
|
||||
args = prof_args.parse
|
||||
|
||||
brew_rb = (HOMEBREW_LIBRARY_PATH/"brew.rb").resolved_path
|
||||
|
Loading…
x
Reference in New Issue
Block a user