-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Download beta compiler toolchain in bootstrap if it doesn't yet exist #109448
Download beta compiler toolchain in bootstrap if it doesn't yet exist #109448
Conversation
Feels a little not in the spirit of things for me to review my own commit 😆 r? bootstrap |
@rustbot author |
a9f596b
to
cc8c916
Compare
cc8c916
to
6f8e470
Compare
@bors r=Mark-Simulacrum rollup |
…oolchain, r=Mark-Simulacrum Download beta compiler toolchain in bootstrap if it doesn't yet exist Blocker for rust-lang#107812 and rust-lang#99989 See: rust-lang#107812 (comment) r? `@jyn514`
@bors r- Failed in rollup: #109872 (comment) |
We are having problem at https://github.com/ozkanonur/rust/blob/6f8e47092cfbfbc944db848928bc92ca982041ea/src/bootstrap/download.rs#L421-L423 due to race condition on Windows platform. I don't really want to add another dependency for Windows in bootstrap:( What if we don't remove the for extra information, see: |
I'm not sure that adding another dependency would help. This looks like a more fundamental issue. A process in the directory is still running (maybe bootstrap itself?) and this will prevent deletion. |
Oh, I thought completely different stuff. By roughly looking on the changes, the problem is seems like we are trying to remove |
6f8e470
to
c2d9d58
Compare
2efee53
to
71680ef
Compare
This is needed for when the shell scripts bypass python altogether and run the downloaded bootstrap directly. Changes are mainly provided from @jyn514, I just fixed the review notes. Signed-off-by: ozkanonur <work@onurozkan.dev>
71680ef
to
eeec732
Compare
@bors r=Mark-Simulacrum rollup=iffy |
☀️ Test successful - checks-actions |
Finished benchmarking commit (ba86600): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. |
Blocker for #107812 and #99989
See: #107812 (comment)
r? @jyn514