-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Support multiple targets for checkOnSave (in conjunction with cargo 1.64.0+) #13290
Conversation
98ca9da
to
9e9bc54
Compare
65e8b97
to
abb3f0e
Compare
I didn't make the change for the |
I don't think we can support this for |
|
Because |
abb3f0e
to
60b4187
Compare
Oh, I'll try to do it, either in this PR if it's not merged by then, or in another. For now, I removed it from the commit and changed back to an |
60b4187
to
f405ba6
Compare
16c50a4
to
54efd42
Compare
|
☔ The latest upstream changes (presumably #13128) made this pull request unmergeable. Please resolve the merge conflicts. |
54efd42
to
f35f020
Compare
39aa7b0
to
12f5d80
Compare
12f5d80
to
0d4737a
Compare
Thanks! |
☀️ Test successful - checks-actions |
This fixes a regression introduced by rust-lang#13290, in which failing to set `checkOnSave/target` (or `checkOnSave/targets`) would lead to an invalid config.
This fixes a regression introduced by rust-lang#13290, in which failing to set `checkOnSave/target` (or `checkOnSave/targets`) would lead to an invalid config.
The prior update included checkOnSave multiple targets: rust-lang/rust-analyzer#13290 but missed the fix for the regression it caused: rust-lang/rust-analyzer#13661 Merge commit '6d61be8e65ac0fd45eaf178e1f7a1ec6b582de1f'
This PR adds support for the ability to pass multiple
--target
flags when usingcargo
1.64.0+.Questions
I needed to change the type of two configurations options, but I did not plurialize the names to
avoid too much churn, should I ?
Zulip thread
https://rust-lang.zulipchat.com/#narrow/stream/185405-t-compiler.2Frust-analyzer/topic/Issue.2013282.20.28supporting.20multiple.20targets.20with.201.2E64.2B.29
Example
To see it working, on a macOS machine:
Screen
Helps with #13282