Skip to content
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

README: document that Clippy may change codegen #8037

Merged
merged 2 commits into from
Jan 12, 2022

Conversation

ojeda
Copy link
Contributor

@ojeda ojeda commented Nov 27, 2021

Currently, Clippy does not guarantee the same codegen will be produced.
Therefore, it should not be used as an universal replacement for rustc.

See #8035.

Signed-off-by: Miguel Ojeda [email protected]

fixes #8035
changelog: document that Clippy may change codegen

@rust-highfive
Copy link

r? @camsteffen

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Nov 27, 2021
@camsteffen
Copy link
Contributor

What do you think about re-wording more of this section like I described here?

@camsteffen camsteffen added S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status) and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties labels Dec 5, 2021
@ojeda ojeda force-pushed the doc-codegen-change branch 2 times, most recently from a006d4d to 82f69c3 Compare December 14, 2021 17:16
@ojeda
Copy link
Contributor Author

ojeda commented Dec 14, 2021

PTAL. I also changed the usage sentence in a second commit to list the subsections properly. Not sure what was meant by "compiled from source", though.

Copy link
Contributor

@camsteffen camsteffen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking better. Got some suggestions.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
ojeda added 2 commits January 11, 2022 14:48
Currently, `clippy-driver` may run codegen, but this is an
implementation detail.

See rust-lang#8035.

Signed-off-by: Miguel Ojeda <[email protected]>
Removes the "compiled from source" bit, which is confusing.

Signed-off-by: Miguel Ojeda <[email protected]>
@ojeda ojeda force-pushed the doc-codegen-change branch from 82f69c3 to 3d4fded Compare January 11, 2022 13:49
@ojeda
Copy link
Contributor Author

ojeda commented Jan 11, 2022

New year, new round -- please take a look!

@camsteffen
Copy link
Contributor

Looks great, thanks!

@bors r+

@bors
Copy link
Contributor

bors commented Jan 12, 2022

📌 Commit 3d4fded has been approved by camsteffen

@bors
Copy link
Contributor

bors commented Jan 12, 2022

⌛ Testing commit 3d4fded with merge b9cae79...

@bors
Copy link
Contributor

bors commented Jan 12, 2022

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: camsteffen
Pushing b9cae79 to master...

@bors bors merged commit b9cae79 into rust-lang:master Jan 12, 2022
@ojeda ojeda deleted the doc-codegen-change branch January 12, 2022 15:34
@ojeda
Copy link
Contributor Author

ojeda commented Jan 12, 2022

Thanks to you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can clippy-driver be always used as replacement of rustc?
4 participants