-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
[rustbuild] do not delete sysroot directory #34279
Comments
Yeah right now this is done to ensure we clean everything out, but this definitely bit Cargo in the past so we should probably figure our a more principled way of doing this. |
Triage: this is still an issue: https://github.com/rust-lang/rust/blob/d50583eaecdf88b5ee59e1d77fe3b4a8d87cbe6e/src/bootstrap/compile.rs#L1046 |
I think this is hard to do in a way that's not surprising. Consider the following invocations:
I suppose we could only delete files we know that bootstrap generates, but that seems quite difficult to maintain ... |
I tend to put various test files into
$DESTINATION/stage1/bin
so I can have a different terminal open and quickly test stage1 rustc against various test cases I have at hand for a particular thing I’m working on at the time without cluttering root of my checkout.rustbuild deleting the destination directory every build is inherently incompatible with this workflow. Consider not doing it.
The text was updated successfully, but these errors were encountered: