Add rustfmt as a submodule
This commit is contained in:
parent
a7b7dce02d
commit
c4508e1226
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -36,3 +36,6 @@
|
||||
[submodule "src/tools/clippy"]
|
||||
path = src/tools/clippy
|
||||
url = https://github.com/rust-lang-nursery/rust-clippy.git
|
||||
[submodule "src/tools/rustfmt"]
|
||||
path = src/tools/rustfmt
|
||||
url = git@github.com:rust-lang-nursery/rustfmt.git
|
||||
|
@ -18,6 +18,7 @@ members = [
|
||||
"tools/cargo",
|
||||
"tools/rustdoc",
|
||||
"tools/rls",
|
||||
"tools/rustfmt",
|
||||
# FIXME(https://github.com/rust-lang/cargo/issues/4089): move these to exclude
|
||||
"tools/rls/test_data/borrow_error",
|
||||
"tools/rls/test_data/completion",
|
||||
@ -58,3 +59,9 @@ debug-assertions = false
|
||||
|
||||
[patch.'https://github.com/rust-lang/cargo']
|
||||
cargo = { path = "tools/cargo" }
|
||||
|
||||
[patch.'https://github.com/rust-lang-nursery/rustfmt']
|
||||
rustfmt-nightly = { path = "tools/rustfmt" }
|
||||
|
||||
[patch.crates-io]
|
||||
rustfmt-nightly = { path = "tools/rustfmt" }
|
||||
|
1
src/tools/rustfmt
Submodule
1
src/tools/rustfmt
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit a1fd68da464fc51585f351c81fc2b867211c197e
|
Loading…
Reference in New Issue
Block a user