8000 qsv 5.0.3 · Homebrew/homebrew-core@b265ae9 · GitHub
[go: up one dir, main page]

Skip to content

Commit b265ae9

Browse files
BrewTestBotchenrui333
authored andcommitted
qsv 5.0.3
qsv: update RUSTFLAGS Signed-off-by: Rui Chen <rui@chenrui.dev>
1 parent 11491a6 commit b265ae9

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Formula/q/qsv.rb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Qsv < Formula
22
desc "Ultra-fast CSV data-wrangling toolkit"
33
homepage "https://qsv.dathere.com/"
4-
url "https://github.com/dathere/qsv/archive/refs/tags/4.0.0.tar.gz"
5-
sha256 "87f53ba8099142e8a1159d600ef6b9e4329bf10a579f38257d757c99a45b33a7"
4+
url "https://github.com/dathere/qsv/archive/refs/tags/5.0.3.tar.gz"
5+
sha256 "3df998802030fd9a3e2cab12f2369ae75077ee74a7076c773298efbc30a4f61a"
66
license any_of: ["MIT", "Unlicense"]
77
head "https://github.com/dathere/qsv.git", branch: "master"
88

@@ -33,6 +33,10 @@ class Qsv < Formula
3333
end
3434

3535
def install
36+
# Use explicit CPU target instead of "native" to avoid brittle behavior
37+
# see discussion at https://github.com/briansmith/ring/discussions/2528#discussioncomment-13196576
38+
ENV["RUSTFLAGS"] = "-C target-cpu=apple-m1"
39+
3640
system "cargo", "install", *std_cargo_args, "--features", "apply,luau,feature_capable"
3741
bash_completion.install "contrib/completions/examples/qsv.bash" => "qsv"
3842
fish_completion.install "contrib/completions/examples/qsv.fish"

0 commit comments

Comments
 (0)
0