You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
build/bootstrap/.last-warned-change-id gets removed by workaround for #125578 #130449
# FIXME: A cheap workaround for https://github.com/rust-lang/rust/issues/125578,# remove this once the issue is closed.bootstrap_out=self.bootstrap_out()
ifos.path.exists(bootstrap_out):
shutil.rmtree(bootstrap_out)
p.map(unpack_component, tarballs_download_info)
when updating to a new master, bootstrap gets rebuilt, causing the "last warned change id" file to be deleted, so you see all the "new changes to x.py", even if there are no new changes to x.py.
I mean, the change-id system isn't actually super reliable, because PRs aren't always merged in the order they are opened, but removing .last-warned-change-id doesn't really seem like the best answer to that.
Activity
Rollup merge of rust-lang#130459 - onur-ozkan:rust-lang#130449, r=alb…
Unrolled build for rust-lang#130459
lolbinarycat commentedon Jul 10, 2025
We are deleting
.last-warned-change-idagain.We probably want to write a regression test this time.
Kobzol commentedon Jul 12, 2025
I wonder if we should just write that file to the source root and add it to
.gitignore.. 🤔Kobzol commentedon Jul 12, 2025
Could you post some reproduction of how was the file deleted for you?
lolbinarycat commentedon Jul 12, 2025
@Kobzol just running
./x cleandeletes it (but not.rustc_info.json, weirdly).just tested and reproduced on bfc046a
here's the config:
Kobzol commentedon Jul 12, 2025
Looks like it's kind of expected?
rust/src/bootstrap/src/core/build_steps/clean.rs
Line 148 in cda9bfe
lolbinarycat commentedon Jul 12, 2025
strange, wonder why that is...
I mean, the change-id system isn't actually super reliable, because PRs aren't always merged in the order they are opened, but removing
.last-warned-change-iddoesn't really seem like the best answer to that.