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

Missing instructions on Windows Mingw INSTALL.md #124591

Open
Sergi-Ferrez opened this issue May 1, 2024 · 3 comments
Open

Missing instructions on Windows Mingw INSTALL.md #124591

Sergi-Ferrez opened this issue May 1, 2024 · 3 comments
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools C-discussion Category: Discussion or questions that doesn't represent real issues. O-windows Operating system: Windows T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Comments

@Sergi-Ferrez
Copy link
Contributor

Location

The INSTALL.md instructions for Windows does not advise to add the Mingw bin folder in the PATH. In this case it can save a lot of trouble by only adding a single line like it follows:

MinGW

MSYS2 can be used to easily build Rust on Windows:

  1. Download the latest MSYS2 installer and go through the installer. Make sure to add the 'msys64\mingw64\bin' folder to your PATH

Summary

Very simple change but can save time to new developers.

@Sergi-Ferrez Sergi-Ferrez added the A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools label May 1, 2024
@rustbot rustbot added the needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. label May 1, 2024
@workingjubilee
Copy link
Contributor

Hmm. Yes, but most developers should be using rustup to install the MSVC host, and then having done so, they should already have the tools to build Rust from source via the MSVC build if necessary.

@workingjubilee workingjubilee added the O-windows Operating system: Windows label May 2, 2024
@jieyouxu jieyouxu added T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) C-discussion Category: Discussion or questions that doesn't represent real issues. and removed needs-triage This issue may need triage. Remove it if it has been sufficiently triaged. labels May 13, 2024
@ThomasKrenn
Copy link

The installation manual contains several screenshots and a lengthy description of the visualstudio installer but no screenshot of rustup or a single sentence what and where rustup is installing things.

https://rust-lang.github.io/rustup/installation/index.html

BTW: The 'Manual installation refers back to rustup again ?!? I always thought the point of a 'manual installation' is not using the installer.

I'll install rust if a 'portable' version is available.

@ChrisDenton
Copy link
Contributor

I think you should make a new issue. This is about using the rust repo to build from source.

The rust-lang home page (specifically https://www.rust-lang.org/learn/get-started) describes installing rust, including an "Other Installation Methods" link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-docs Area: documentation for any part of the project, including the compiler, standard library, and tools C-discussion Category: Discussion or questions that doesn't represent real issues. O-windows Operating system: Windows T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
Projects
None yet
Development

No branches or pull requests

6 participants