mirror of
https://github.com/rust-lang/rust
synced 2024-10-14 12:33:57 +00:00
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"]
|
[submodule "src/tools/clippy"]
|
||||||
path = src/tools/clippy
|
path = src/tools/clippy
|
||||||
url = https://github.com/rust-lang-nursery/rust-clippy.git
|
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/cargo",
|
||||||
"tools/rustdoc",
|
"tools/rustdoc",
|
||||||
"tools/rls",
|
"tools/rls",
|
||||||
|
"tools/rustfmt",
|
||||||
# FIXME(https://github.com/rust-lang/cargo/issues/4089): move these to exclude
|
# FIXME(https://github.com/rust-lang/cargo/issues/4089): move these to exclude
|
||||||
"tools/rls/test_data/borrow_error",
|
"tools/rls/test_data/borrow_error",
|
||||||
"tools/rls/test_data/completion",
|
"tools/rls/test_data/completion",
|
||||||
|
@ -58,3 +59,9 @@ debug-assertions = false
|
||||||
|
|
||||||
[patch.'https://github.com/rust-lang/cargo']
|
[patch.'https://github.com/rust-lang/cargo']
|
||||||
cargo = { path = "tools/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 a new issue