-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Add support for the Visual Studio Express 2017 linker #53474
Comments
There is nothing in the VC++ detection code that is specific to Community or Professional or Enterprise or Express. However there still may be something specific to Express or to your setup that is causing it to not work. Does For diagnosing issues like this I'd recommend reaching out to |
If I do not mistake, "regular" Visual Studio releases are installed in |
My Visual Studio is installed in What are the contents of |
Thanks for the explanation. The content of
Here is the output of |
Are you on 32-bit Windows or 64-bit Windows? It appears you only have |
Yes I am on Windows 7 64-bit. I do not see any options in the VS Express 2017 installer to choose the x86 or x64 toolchains, moreover on the VS Express website I read:
so I guess VS Express 2017 is limited to Win32. |
It can still target x64 just fine, it just doesn't come with x64 host toolchains for some reason. I've filed an issue in the |
@lucatrv do you still need Visual Studio Express 2017 support? Visual Studio 2019 and 2022 have both been available for a long time. |
@MichaelMcDonnell currently I am using Visual Studio Build Tools 2022, I agree that nowadays support for Visual Studio Express 2017 is not needed anymore, so I'm closing this issue. |
Great! Thanks @lucatrv! |
Support for the Visual Studio 2017 linker was added with PR #38584, and I guess that
rustc
now works either with the Community or the Professional or the Enterprise releases (see comparison here). However that PR does not cover Visual Studio Express 2017, whose linker is located atc:\Program Files (x86)\Microsoft Visual Studio\2017\WDExpress\VC\Tools\MSVC\14.12.25827\bin\Hostx86\x64\link.exe
.In order for
rustc
to find the Visual Studio Express 2017 linker I need to runc:\Program Files (x86)\Microsoft Visual Studio\2017\WDExpress\VC\Auxiliary\Build\vcvarsx86_amd64.bat
.I'm on Windows 7, running
rustc
version 1.28.0 (stable).The text was updated successfully, but these errors were encountered: