Skip to content
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

Warn about Visual Studio Code branding confusion #102577

Merged
merged 1 commit into from
Oct 7, 2022

Conversation

kornelski
Copy link
Contributor

VS Code is a popular companion for Rust, but Microsoft's branding is confusing, and users may not understand they also need the other VS.

@rustbot rustbot added the T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. label Oct 2, 2022
@rust-highfive
Copy link
Collaborator

r? @nagisa

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Oct 2, 2022
@nagisa
Copy link
Member

nagisa commented Oct 2, 2022

I believe what we actually need is just the build tools, which, if we spelled out would possibly remove the ambiguity as well (“Visual Studio Build Tools” seems less confusable with “VS Code” than “Visual Studio” is)

either way, somebody working with Windows should review this (me guesses the command is…)

@rustbot ping windows

@rustbot rustbot added the O-windows Operating system: Windows label Oct 2, 2022
@rustbot
Copy link
Collaborator

rustbot commented Oct 2, 2022

Hey Windows Group! This bug has been identified as a good "Windows candidate".
In case it's useful, here are some instructions for tackling these sorts of
bugs. Maybe take a look?
Thanks! <3

cc @arlosi @ChrisDenton @danielframpton @gdr-at-ms @kennykerr @luqmana @lzybkr @nico-abram @retep998 @rylev @sivadeilra @wesleywiser

@nagisa
Copy link
Member

nagisa commented Oct 2, 2022

r? @wesleywiser

@rust-highfive rust-highfive assigned wesleywiser and unassigned nagisa Oct 2, 2022
@rylev
Copy link
Member

rylev commented Oct 5, 2022

This change seems reasonable though I agree adding "build tools" is a good further clarification (here's a link to downloading those - though I wouldn't include the link in the message).

It may help to also say "not to be confused with VS Code" instead of "not VS Code" as it sounds sort of like we're telling the user not to download VS Code when instead we mean that for this purpose we're not referring to VS Code.

@kornelski kornelski force-pushed the non-code-visual-studio branch from 5f86873 to 080ad53 Compare October 5, 2022 14:08
@kornelski
Copy link
Contributor Author

I've updated the text

@rust-log-analyzer

This comment has been minimized.

@ChrisDenton
Copy link
Member

I think the changed text looks reasonable. I wouldn't want to emphasise Build Tools too much due to the current licensing situation (it requires a Community, Professional or Enterprise license) but I'm fine with it simply being listed as an option.

compiler/rustc_codegen_ssa/src/back/link.rs Outdated Show resolved Hide resolved
@rust-log-analyzer

This comment has been minimized.

@kornelski kornelski force-pushed the non-code-visual-studio branch from 5f499fe to bf5db9d Compare October 6, 2022 19:27
@rust-log-analyzer

This comment has been minimized.

@kornelski kornelski force-pushed the non-code-visual-studio branch from bf5db9d to 9b3db34 Compare October 6, 2022 19:56
@wesleywiser
Copy link
Member

Thanks @kornelski!

@bors r+

@bors
Copy link
Contributor

bors commented Oct 6, 2022

📌 Commit 9b3db34 has been approved by wesleywiser

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Oct 6, 2022
@wesleywiser
Copy link
Member

@bors rollup

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Oct 7, 2022
…r=wesleywiser

Warn about Visual Studio Code branding confusion

VS Code is a popular companion for Rust, but Microsoft's branding is confusing, and users [may not understand](https://users.rust-lang.org/t/complie-error-when-i-run-rustc/82127) they also need the *other* VS.
bors added a commit to rust-lang-ci/rust that referenced this pull request Oct 7, 2022
…iaskrgr

Rollup of 6 pull requests

Successful merges:

 - rust-lang#102577 (Warn about Visual Studio Code branding confusion)
 - rust-lang#102720 (do not reverse the expected type and found type for ObligationCauseCo…)
 - rust-lang#102744 (rustdoc: remove unused CSS `.content .item-list`)
 - rust-lang#102747 (rustdoc: remove unused CSS `.docblock a:not(.srclink)`)
 - rust-lang#102748 (Disable compressed debug sections on i586-gnu)
 - rust-lang#102761 (let-else: test else block with non-never uninhabited type)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 1a2a324 into rust-lang:master Oct 7, 2022
@rustbot rustbot added this to the 1.66.0 milestone Oct 7, 2022
@kornelski kornelski deleted the non-code-visual-studio branch October 7, 2022 11:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-windows Operating system: Windows S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants