-
-
Notifications
You must be signed in to change notification settings - Fork 849
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
ditch Windows GNU builds #380
Comments
correcting myself - the MSVC version is smaller, but it requires Visual C++ 2015, which some users might not have installed - so maybe it makes sense to keep both |
wait... really? I would think that it requires VS for compiling, but not for running..? |
@sharkdp yep, for example if you get Win7 from here: https://developer.microsoft.com/microsoft-edge/tools/vms and try to use this:
you get this:
its not a huge deal as you can get it from here: https://blogs.technet.microsoft.com/jagbal/2017/09/04/where-can-i-download but might be worth documenting. |
Interesting, thank you. So should we keep the GNU version and remove the MSVC one? Any other opinions on this? |
@sharkdp its a matter of opinion really - to keep everyone happy you would just continue as is. but i am of the opinion it would be simpler just just have ONE 64-bit windows and ONE 32-bit windows so the question becomes GNU or MSVC? again this is opinion - but i would say go with MSVC and ditch GNU - some might disagree with this as it introduces the runtime requirement - but enough programs are requiring it that many users will already have it installed. up to you. |
If there is a significant difference in both options, it seems reasonable to me to just keep both variants. If somebody has a different opinion, please comment here or write a short explanation in the corresponding README section. |
FWIW static CRT linkage should let you use MSVC builds that will on older windows without the c++ runtime installed |
Add this to your [target.x86_64-pc-windows-msvc]
rustflags = ["-Ctarget-feature=+crt-static"] |
currently 4 windows versions are offered:
i get the
x86_64
vsi686
, but i dont see a reason to distribute bothgnu
andmsvc
versions.this makes sense for rust itself - because rust is going to use a different
linker depending on which version of rust you installed. however with FD it
doesnt make sense because we arent linking anything. FD is not a compiler, it
was linked with rust and thats it.
my vote would be the MSVC versions because they are smaller.
The text was updated successfully, but these errors were encountered: