Skip to content

Use .cargo/config.toml for local compilation options #15543

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

Merged
merged 1 commit into from
Aug 23, 2025

Conversation

samueltardieu
Copy link
Member

This will be ignored when Clippy is part of the compiler workspace. Using Cargo.toml would complain about profiles defined outside the top-level when run from the compiler repository.

Suggested by Jakub Beránek.

changelog: none

r? flip1995

This will be ignored when Clippy is part of the compiler workspace.
Using `Cargo.toml` would complain about profiles defined outside the
top-level when run from the compiler repository.
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Aug 23, 2025
@samueltardieu
Copy link
Member Author

samueltardieu commented Aug 23, 2025

I checked manually that opt-level=3 was properly applied to quine-mc_cluskey when compiling clippy-driver.

Cc @Kobzol

Copy link
Member

@flip1995 flip1995 left a comment

Choose a reason for hiding this comment

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

Thanks!

@flip1995 flip1995 enabled auto-merge August 23, 2025 08:46
@flip1995 flip1995 added this pull request to the merge queue Aug 23, 2025
Merged via the queue into rust-lang:master with commit b7d76e2 Aug 23, 2025
11 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties label Aug 23, 2025
@samueltardieu samueltardieu deleted the profile-in-local-conf branch August 23, 2025 09:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants