Skip to content

Commit b15cef0

Browse files
authored
Merge pull request #191608 from Homebrew/rust-link_overwrite
rust: add `link_overwrite` for `rustfmt` merge
2 parents 106915c + 489f748 commit b15cef0

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
@@ -45,6 +45,8 @@ class Rust < Formula
4545
uses_from_macos "zlib"
4646

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

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

0 commit comments

Comments
 (0)