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
These changes are necessary to make download-rustc more stable and less risky:
Based on this idea from @RalfJung, instead of checking specific directories to see if they have changed, check for any changes outside of certain allowed directories. This is more maintainable over time because the current approach requires constantly updating hard-coded denied paths.
When not running in CI, if the "library" tree has changed but the "compiler" tree hasn't, avoid recompiling the "compiler" tree. This approach is similar to how download-rustc=true handles library changes. The goal is to make if-unchanged useful for library developers as well.
Once above is done, make download-rustc=if-unchanged default option for the "library" profile.
These changes are necessary to make
download-rustcmore stable and less risky:download-rustc=truehandles library changes. The goal is to makeif-unchangeduseful for library developers as well.download-rustc=if-unchangeddefault option for the "library" profile.