about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-08-23 22:22:20 +0200
committerGitHub <noreply@github.com>2025-08-23 22:22:20 +0200
commitec52c9cc11939874d746f0a7a4a9b05dcb60c7e7 (patch)
treedf212e4763d21f3f05ed19dbab50901dcc38af62
parent608271f764331482a37ff671781d681da5e8deb8 (diff)
parent32b193c248b2538d8397c74fb6a55aef1730a6aa (diff)
downloadrust-ec52c9cc11939874d746f0a7a4a9b05dcb60c7e7.tar.gz
rust-ec52c9cc11939874d746f0a7a4a9b05dcb60c7e7.zip
Rollup merge of #145781 - Kobzol:clippy-remove-profile, r=lqd
Remove profile section from Clippy

To avoid workspace warnings.

[This](https://github.com/rust-lang/rust/pull/145749) subtree sync started causing warnings in Rust builds (https://github.com/rust-lang/rust/issues/145777) because of the `profile` section in Clippy's `Cargo.toml` file. This profile section was added in https://github.com/rust-lang/rust-clippy/pull/13408 last year, and since it also caused issues then, it was later reverted. However, this change recently reappeared in [this commit](https://github.com/rust-lang/rust-clippy/commit/90364dd178b074db391649eed504564ac26f77c1), so it is again causing issues for rust-lang/rust.

This PR removes the profile section again.

Fixes: https://github.com/rust-lang/rust/issues/145777
-rw-r--r--src/tools/clippy/Cargo.toml7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/tools/clippy/Cargo.toml b/src/tools/clippy/Cargo.toml
index 2add525b7e8..b3618932ded 100644
--- a/src/tools/clippy/Cargo.toml
+++ b/src/tools/clippy/Cargo.toml
@@ -65,13 +65,6 @@ harness = false
 name = "dogfood"
 harness = false
 
-# quine-mc_cluskey makes up a significant part of the runtime in dogfood
-# due to the number of conditions in the clippy_lints crate
-# and enabling optimizations for that specific dependency helps a bit
-# without increasing total build times.
-[profile.dev.package.quine-mc_cluskey]
-opt-level = 3
-
 [lints.rust.unexpected_cfgs]
 level = "warn"
 check-cfg = ['cfg(bootstrap)']