Skip to content

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

Merged
flip1995 merged 1 commit into
rust-lang:masterfrom
samueltardieu:profile-in-local-conf
Aug 23, 2025
Merged

Use .cargo/config.toml for local compilation options#15543
flip1995 merged 1 commit into
rust-lang:masterfrom
samueltardieu:profile-in-local-conf

Conversation

@samueltardieu

Copy link
Copy Markdown
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

samueltardieu commented Aug 23, 2025

Copy link
Copy Markdown
Member Author

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

Cc @Kobzol

@flip1995 flip1995 left a comment

Copy link
Copy Markdown
Member

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