-
Notifications
You must be signed in to change notification settings - Fork 2.6k
[beta-1.79] fix(toml): Don't warn on lints.rust.unexpected_cfgs.check-cfg #13925
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
Conversation
While its unused, we thought we'd reduce warning noise for people using this key on nightly.
r? @weihanglo rustbot has assigned @weihanglo. Use |
|
This is currently breaking CI because we run effectively `RUSTDOCFLAGS=-Dwarnings cargo +nightly doc`
The nightly failure is being tracked in rust-lang/rust#125319. As such, I'll workaround by updating dependencies. |
It looks like its checking nightly rustc links against cargo which is failing because of links related to check-cfg which is stable on nightly. See also https://rust-lang.zulipchat.com/#narrow/stream/246057-t-cargo/topic/Failures.20on.20Beta.20CI
@bors r+ Thanks for doing all the messy works. |
☀️ Test successful - checks-actions |
[beta-1.79] Update cargo 2 commits in 8a7384119af18fa4b3311c310661acd81f1b4885..9ca20fadf04af535ec39d1e18c87cd886185d300 2024-05-03 01:19:24 +0000 to 2024-05-22 17:55:16 +0000 - [beta-1.79] upgrade gix from 0.62 to 0.63 (rust-lang/cargo#13950) - [beta-1.79] fix(toml): Don't warn on lints.rust.unexpected_cfgs.check-cfg (rust-lang/cargo#13925) r? ghost
…, r=Mark-Simulacrum Bump bootstrap compiler to the latest beta compiler This PR updates the bootstrap compiler, aka stage0 to the latest beta version, since it contains rust-lang/cargo#13925. It removes those unconditional Cargo warnings: ``` warning: [...]/rust/library/core/Cargo.toml: unused manifest key: lints.rust.unexpected_cfgs.check-cfg warning: [...]/rust/library/std/Cargo.toml: unused manifest key: lints.rust.unexpected_cfgs.check-cfg warning: [...]/rust/library/alloc/Cargo.toml: unused manifest key: lints.rust.unexpected_cfgs.check-cfg ``` for all contributors/users of this repository (including CI). I don't know if that's something we do, or if it's even advisable, feel free to close. r? `@Mark-Simulacrum`
Rollup merge of rust-lang#125478 - Urgau:check-cfg-config-bump-stage0, r=Mark-Simulacrum Bump bootstrap compiler to the latest beta compiler This PR updates the bootstrap compiler, aka stage0 to the latest beta version, since it contains rust-lang/cargo#13925. It removes those unconditional Cargo warnings: ``` warning: [...]/rust/library/core/Cargo.toml: unused manifest key: lints.rust.unexpected_cfgs.check-cfg warning: [...]/rust/library/std/Cargo.toml: unused manifest key: lints.rust.unexpected_cfgs.check-cfg warning: [...]/rust/library/alloc/Cargo.toml: unused manifest key: lints.rust.unexpected_cfgs.check-cfg ``` for all contributors/users of this repository (including CI). I don't know if that's something we do, or if it's even advisable, feel free to close. r? `@Mark-Simulacrum`
Beta backports:
check-cfg
lint config for theunexpected_cfgs
lint #13913 (sort of): removes just the lint warning (in a different way to be minimal) so we reduce warning noise for people using this key on nightlyIn order to make CI pass, the following PRs are also cherry-picked:
time
due to Type inference regression onnightly-2024-05-20
rust#125319)