bootstrap: Improve the UX when run from a git worktree #77621
Labels
A-contributor-roadblock
Area: Makes things more difficult for new contributors to rust itself
C-feature-request
Category: A feature request, i.e: not implemented / a PR.
E-medium
Call for participation: Medium difficulty. Experience needed to fix: Intermediate.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
it would be nice if bootstrap could auto-detect when it's being run from a git worktree and share
original issue description
It should look something like this behind the scenes:
This would make https://rustc-dev-guide.rust-lang.org/building/suggested.html?highlight=worktree#working-on-multiple-branches-at-the-same-time a lot more discoverable.
It should also use the submodule suggestions from https://rust-lang.zulipchat.com/#narrow/stream/182449-t-compiler.2Fhelp/topic/script.20to.20quickly.20generate.20complete.20git.20worktree (cc @lzutao), which would prevent cloning llvm more than once.
This would help work around #77620.
The text was updated successfully, but these errors were encountered: