Skip to content

Commit 489f748

Browse files
committed
rust: add link_overwrite for rustfmt merge
Needed after #181351, which merges `rustfmt` into `rust`.
1 parent 64cf8d3 commit 489f748

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Formula/r/rust.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ class Rust < Formula
4646
uses_from_macos "zlib"
4747

4848
link_overwrite "etc/bash_completion.d/cargo"
49+
# These used to belong in `rustfmt`.
50+
link_overwrite "bin/cargo-fmt", "bin/git-rustfmt", "bin/rustfmt", "bin/rustfmt-*"
4951

5052
# From https://github.com/rust-lang/rust/blob/#{version}/src/stage0
5153
resource "cargobootstrap" do

0 commit comments

Comments
 (0)