-
Notifications
You must be signed in to change notification settings - Fork 340
Recommendation of Windows ABI #341
Comments
/cc @retep998 |
I am in favor of changing the recommendation. |
I'm down. I will also change rustup to default to i686-msvc when I implement host customization. cc @rust-lang/tools Considering repositioning the MSVC windows toolchains as the default. |
cc @rust-lang/compiler |
Sounds like a plan to me. |
Another point, the GNU ABI doesn't even have ASLR enabled, nevermind high entropy ASLR. rust-lang/rust#16514 and rust-lang/rust#16593 |
rustup has host customization now, so we can program the default host to be the msvc target. We're good to pull the trigger on this pretty soon. |
Even Microsoft is recommending using MSVC for Rust http://landinghub.visualstudio.com/visual-cpp-build-tools |
It's awesome that MS are saying you can build Rust right there on their site! |
@leepa, @retep998: What's so much better about
|
|
So running rustup on two different machines could end up installing different flavors, just because one of them already had MSVC installed? Not sure I dig that. Besides, in this case we'd be effectively recommending them both equally?
Rust-specific DWARF hasn't happened yet. And even then, I hope we'll find a way to keep it backwards-compatible with standard debuggers. Anyhow, IMO, these problems could be tolerated and lived with, had the other alternative been much worse. But really, what's so bad about the |
@vadimcn Even if we don't outright recommend |
@vadimcn because mingw ( |
I'm also in favour of changing. MSVC is the toolchain for Windows, using anything else is amateurish. GNU is fine as a stepping stone, but long term is not a good solution, and we should be moving towards MSVC as fast as possible. |
Actually rustup already does look for an MSVC installation and will default to installing the MSVC toolchain if one exists. 😉 |
In which case that strengthens the argument to change the wording on the main rust-lang/rust-www site. |
I also am a bit uncomfortable with this unpredictability. Maybe instead it can go ahead with the detection, but instead of making a decision on it's own, print a warning and a link to the download for MSVC. rust-lang/rustup#561 |
I'm in favor of changing the order the GNU/MSVC toolchains are presented and changing the final sentence of the footer to say something about why you should pick MSVC. |
Might want to wait until after the 1.10 release to make sure there's consensus and we're not surprising people, but most stakeholders are paying attention to this thread. |
@leepa: I think we should explicitly enumerate which problems with the -gnu toolchain we are trying to avoid by switching to -msvc, so it'd be easier to decide which set of problems is worse. I've checked the IRC logs. It seems like most of the information is coming from @retep998, perhaps he could weigh in on this? |
It is post 1.10. Are we ready to do this? |
I notice we still reference that users should use the GNU ABI is 'recommended for typical uses' - however a long chat in IRC yesterday pointed out this has been the recommendation since 1.0 and a lot of work has gone into MSVC since.
I did have look at the outstanding MSVC issues and I'd like to propose that MSVC becomes 'recommended for typical uses' due to the more stable linker and such like.
These days openssl works just fine on the MSVC ABI and you get better backtraces and debug information (hell, you even get a PDB file - awesome).
Even if we don't change the recommendation we should make the choice clearer - from IRC the Windows users definitely have less issues with it then the GNU ABI.
The text was updated successfully, but these errors were encountered: