formula: make cargo respect Homebrew-managed parallelism
`cargo` doesn't follow setting `HOMEBREW_MAKE_JOBS` or `ENV.deparallelize`. Let's fix that.
This commit is contained in:
parent
0d2210b1c5
commit
a9591c712f
@ -1795,7 +1795,7 @@ class Formula
|
||||
params(root: T.any(String, Pathname), path: T.any(String, Pathname)).returns(T::Array[String])
|
||||
}
|
||||
def std_cargo_args(root: prefix, path: ".")
|
||||
["--locked", "--root=#{root}", "--path=#{path}"]
|
||||
["--jobs", ENV.make_jobs.to_s, "--locked", "--root=#{root}", "--path=#{path}"]
|
||||
end
|
||||
|
||||
# Standard parameters for CMake builds.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user