-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Bugfix for license check #87627
Bugfix for license check #87627
Conversation
cargo fmt would only work if you were in the root dir before. (as otherwise it would not find the template.)
Some changes occurred in src/tools/rustfmt. |
(rust-highfive has picked a reviewer for you, use r? to override) |
(As mentioned as an issue in rust-lang/rustfmt#3352 ) |
Thank you but rustfmt PRs need to be opened against the rustfmt repo as opposed to updating the subtree here. |
ah ok. I thought maybe I needed to do it this way as the rustfmt repo
seemed dependent upon the rustc one (E.g. dependencies on the _ast crates).
Will test via rustc repo and commit back to the main rustfmt repo.
…On Fri, 30 Jul 2021 at 14:21, Caleb Cartwright ***@***.***> wrote:
Thank you but rustfmt PRs need to be opened against the rustfmt repo as
opposed to updating the subtree here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#87627 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGEJCBJVY3VKTIZD43OGRTT2KROJANCNFSM5BIOODRA>
.
|
No worries. Tool development happens in the respective repos for all tools that are subtrees or sumbodules. Tool changes then get pulled into the rustc repo at regular intervals and/or as needed to address specific issues. The tool subtrees should only be updated directly when strictly necessary with minimal changes required as part of changes tot rustc, such as AST changes that are breaking to the tool. This PR should be closed and submitted to rust-lang/rustfmt instead |
Thumbsup, will do
…On Fri, 30 Jul 2021 at 18:09, Caleb Cartwright ***@***.***> wrote:
I thought maybe I needed to do it this way as the rustfmt repo
seemed dependent upon the rustc one (E.g. dependencies on the _ast crates).
No worries. Tool development happens in the respective repos for all tools
that are subtrees or sumbodules. Tool changes then get pulled into the
rustc repo at regular intervals and/or as needed to address specific
issues. The tool subtrees should only be updated directly when strictly
necessary with minimal changes required as part of changes tot rustc, such
as AST changes that are breaking to the tool.
This PR should be closed and submitted to rust-lang/rustfmt instead
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#87627 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGEJCCB5YR6ASQ4KHEN55LT2LMD3ANCNFSM5BIOODRA>
.
|
Thanks. Closing as it seems this will be refiled on rustfmt directly. |
cargo fmt would only work if you were in the root dir before if a license check template was set.
(as otherwise it would not find the template.)