Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cargo-binstall 1.7.1 #174890

Merged
merged 2 commits into from
Jun 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"]
Loading