-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[beta-1.70] backport #12165 #12167
[beta-1.70] backport #12165 #12167
Conversation
r? @epage (rustbot has picked a reviewer for you, use r? to override) |
|
The weakening of debuginfo for build script shouldn't turn debuginfo to `DebugInfo::None`. That will result in not passing `-C debuginfo=0` to rustc, leading to build artifact cache miss.
@bors try |
This is caused by rust-lang/rust#110960
https://github.com/rust-lang/cargo/actions/runs/5057792442/jobs/9077009414?pr=12167
|
Can you say why not? I would imagine backporting #12088 should be fine.
It seems reasonable to stop running nightly tests on beta/stable. It might be a little tricky to do it correctly in CI due to the way bors works, so I'm not sure how that can be done. |
Yeah I've tried but no luck. bors knows nothing about branches on rust-lang/cargo 😞. |
The build-std tests are disabled on stable and beta, so I don't think it should be a concern. The only place they run is in Cargo's CI on the nightly builders, and those are always using the latest nightly. These tests don't run on rust-lang/rust, so it isn't a concern there. |
I think it might be a bit too late to get this into beta. It's not clear to me how likely it is that a project will run into this issue. If you think it is sufficiently rare, then this should probably be closed. |
Yup sure. Given they already have some workaround I think it's fine just closing this. Actually I was waiting for #12181. Still want it or something else to get landed. |
Beta backports:
-C debuginfo
after weakening if explicitly set #12165TomlDebugInfo::None
was not there in 1.70.0. It was a simple u320
.In order to make CI pass, the following PRs are also cherry-picked: