-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Investigate and implement a scheme to consistently apply lints for all compiler crates #138106
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Labels
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
E-needs-design
This issue needs exploration and design to see how and if we can fix/implement it
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Comments
And #138035 was a hacky initial attempt at this. Probably not appropriate to merge, but a good reference. |
jieyouxu
added a commit
to jieyouxu/rust
that referenced
this issue
Mar 12, 2025
…ore, r=onur-ozkan,jieyouxu Use `RUSTC_LINT_FLAGS` more An alternative to the failed rust-lang#138084. Fixes rust-lang#138106. r? `@jieyouxu`
jieyouxu
added a commit
to jieyouxu/rust
that referenced
this issue
Mar 12, 2025
…ore, r=onur-ozkan,jieyouxu Use `RUSTC_LINT_FLAGS` more An alternative to the failed rust-lang#138084. Fixes rust-lang#138106. r? ``@jieyouxu``
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Mar 12, 2025
…ore, r=onur-ozkan,jieyouxu Use `RUSTC_LINT_FLAGS` more An alternative to the failed rust-lang#138084. Fixes rust-lang#138106. r? ```@jieyouxu```
matthiaskrgr
added a commit
to matthiaskrgr/rust
that referenced
this issue
Mar 12, 2025
…ore, r=onur-ozkan,jieyouxu Use `RUSTC_LINT_FLAGS` more An alternative to the failed rust-lang#138084. Fixes rust-lang#138106. r? ````@jieyouxu````
Manishearth
added a commit
to Manishearth/rust
that referenced
this issue
Mar 12, 2025
…ore, r=onur-ozkan,jieyouxu Use `RUSTC_LINT_FLAGS` more An alternative to the failed rust-lang#138084. Fixes rust-lang#138106. r? `````@jieyouxu`````
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Mar 12, 2025
Rollup merge of rust-lang#138331 - nnethercote:use-RUSTC_LINT_FLAGS-more, r=onur-ozkan,jieyouxu Use `RUSTC_LINT_FLAGS` more An alternative to the failed rust-lang#138084. Fixes rust-lang#138106. r? ````@jieyouxu````
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
E-needs-design
This issue needs exploration and design to see how and if we can fix/implement it
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
... Especially for build scripts or proc-macro crates.
There's caveats like:
[lints]
only supports "regular" lints not tool lints likerustc::xxx
.One possible scheme may be to...
Discussion: https://rust-lang.zulipchat.com/#narrow/channel/326414-t-infra.2Fbootstrap/topic/Consistent.20handling.20of.20compiler.2F*.20RUSTFLAGs.20and.20lints
The text was updated successfully, but these errors were encountered: