forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Using Rust on Windows
Alex Crichton edited this page Apr 11, 2014
·
22 revisions
As of release 0.10, Rust still depends on GCC for platform linker and C runtime libraries, so you will need to install one before installing Rust itself. Follow these instructions to set up the environment, then run the Rust installer.
The current recommended way of obtaining Rust's prerequisites is by using the mingw-w64 installers from the mingw-builds project. The official Rust build bots are using such an installer from late March, 2014.
- Download and run mingw-builds-install.exe.
- Choose installation options: architecture=x32, threads=posix, exceptions=dwarf.
- Now just download and run the Rust installer.
- Use Rust compiler from mingw-builds terminal (there will be a shortcut in the Start menu), or add
<mingw-builds>\mingw32\bin
directory to your PATH. - Verify Rust installation at mingw-builds terminal by typing
rustc --help
All Categories:
- Docs -- For users
- Notes -- For developers
- Libs -- For library authors
- Meeting minutes