Closed Bug 1513153 Opened 6 years ago Closed 6 years ago

Allow users to more easily install a compiler/linker when installing Rust on Windows

Categories

(DevTools :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID
Future

People

(Reporter: ross, Unassigned)

Details

https://doc.rust-lang.org/book/ch01-01-installation.html#installing-rustup-on-windows contains the link https://www.rust-lang.org/install.html which is 404. Perhaps this is referring to https://forge.rust-lang.org/other-installation-methods.html . Also, for a better user experience, the user should be able to install a compiler/linker via rustup, or a similarly easy method. Also, there is no installer for Windows users on arm.
The 404 error exists because www.rust-lang.org was recently redesigned. It should be fixed by https://github.com/rust-lang/www.rust-lang.org/pull/597 (which adds a redirect to https://www.rust-lang.org/tools/install). Bug 1123821 proposes making Mozilla’s `./mach bootstrap` able to install the MSVC compiler/linker/SDK required to build Firefox. If you mean using Rust outside of Firefox/Mozilla, then this is not the appropriate bug tracker. You may want one of: * For the website: https://github.com/rust-lang/www.rust-lang.org/issues * For rustup: https://github.com/rust-lang/rustup.rs/issues * For Rust in general, or if in doubt: https://github.com/rust-lang/rust/issues/ * For something closer to a discussion than a bug report: https://internals.rust-lang.org/ I think there has been some discussions (or at least desire) of having a new environment "just work" for various platforms after installing only rustup, but I couldn’t find a tracking issue for this. Unfortunately, according to https://forge.rust-lang.org/platform-support.html there is not support at all for Rust on Windows ARM. If you want to ship binaries to Windows ARM users I’d recommend looking into cross-compilation from a Windows Intel machine. You’ll need to cross-compile the Rust standard library yourself (in addition to your own code). If however you want to build on Windows ARM, then you’ll need to bootstrap by cross-compiling an entire toolchain (at least rustc and cargo) in addition to the standard library.
Thanks for the detailed comment, Simon! Ross, if you want to have more information or file a follow-up bug, please do so in the aforementioned repositories. Thanks :-) Closing this bug as invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.