Skip to content

Re-add rust-analyzer as a subtree#99465

Closed
fasterthanlime wants to merge 10000 commits intorust-lang:masterfrom
fasterthanlime:ra-subtree
Closed

Re-add rust-analyzer as a subtree#99465
fasterthanlime wants to merge 10000 commits intorust-lang:masterfrom
fasterthanlime:ra-subtree

Conversation

@fasterthanlime
Copy link
Copy Markdown
Contributor

@fasterthanlime fasterthanlime commented Jul 19, 2022

(Disclaimer: THIS IS A DRAFT, NOBODY APPROVED THIS, I'M JUST TRYING THINGS OUT)

This PR shows what it would take to make rust-lang/rust-analyzer#12815 happen.

I simply removed the submodule:

$ git rm -f src/tools/rust-analyzer

And added a subtree, after patching my local git-subtree, following the rustc dev guide:

$ git subtree add -P src/tools/rust-analyzer https://github.com/rust-lang/rust-analyzer.git master
(lotsa output + 5K+ commits added)

I then cherry-picked some commits from:

The goal being to avoid regressions to rust-analyzer's proc-macro-srv component by running its test suite in CI.

As a reminder, nobody approved this, this is me just doing research to try and save time if and when that option is chosen.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-meta Area: Issues & PRs about the rust-lang/rust repository itself S-experimental Status: Ongoing experiment that does not require reviewing and won't be merged in its current state. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Projects

None yet

Development

Successfully merging this pull request may close these issues.