Skip to content

Commit

Permalink
cargo-binstall 1.7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
timsutton committed Jun 18, 2024
1 parent 033a02f commit d2f4393
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions Formula/c/cargo-binstall.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class CargoBinstall < Formula
desc "Binary installation for rust projects"
homepage "https://github.com/cargo-bins/cargo-binstall"
url "https://github.com/cargo-bins/cargo-binstall/archive/refs/tags/v1.6.9.tar.gz"
sha256 "0a41e12770fd2ed00704d7d9d01e001c11e5f3c9151803730d96a54eb2805d6d"
url "https://github.com/cargo-bins/cargo-binstall/archive/refs/tags/v1.7.1.tar.gz"
sha256 "594b1f0abdb02c588bbc9245ef7a922befb21228254f0c61742c0003abe9e843"
license "GPL-3.0-only"
head "https://github.com/cargo-bins/cargo-binstall.git", branch: "main"

Expand All @@ -23,6 +23,10 @@ class CargoBinstall < Formula

depends_on "rust" => :build

# Remove after this is resolved:
# https://github.com/cargo-bins/cargo-binstall/pull/1781
patch :DATA

def install
system "cargo", "install", *std_cargo_args(path: "crates/bin")
end
Expand All @@ -34,3 +38,20 @@ def install
assert_equal version.to_s, shell_output("#{bin}/cargo-binstall -V").chomp
end
end
__END__
diff --git a/.cargo/config.toml b/.cargo/config.toml
index 65dd57802..0a23a07bc 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -9,8 +9,8 @@ rustflags = ["-C", "link-arg=-fuse-ld=lld"]
rustflags = ["-C", "link-arg=-fuse-ld=lld"]

[target.x86_64-apple-darwin]
-rustflags = ["-C", "link-arg=-fuse-ld=lld"]
+rustflags = ["-C", "link-arg=-fuse-ld=ld"]
[target.x86_64h-apple-darwin]
-rustflags = ["-C", "link-arg=-fuse-ld=lld"]
+rustflags = ["-C", "link-arg=-fuse-ld=ld"]
[target.aarch64-apple-darwin]
-rustflags = ["-C", "link-arg=-fuse-ld=lld"]
+rustflags = ["-C", "link-arg=-fuse-ld=ld"]

0 comments on commit d2f4393

Please sign in to comment.