Using Rust on Windows - mitaa/rust GitHub Wiki
As of release 0.12, Rust distribution for Windows is completely self-contained and includes all dependencies from MinGW toolchain required for building Windows binaries.
Notes:
- Rust compiler uses
gccas a linker driver, and will search for it in the systemPATHbefore searching in the private directory. This means that any other versions found onPATHwill override the one bundled with Rust, and may cause linking errors if they aren't compatible. The solution is to strip down thePATHin the console session used to launchrustc. - The 32-bit binaries produced by
rustcwill depend on the shared GCC runtime library,libgcc_s_dw2-1.dll, which you will need to distribute along with your program. You'll find it in the/bindirectory.
The 64-bit binaries are dependency-free.
These instructions cover running Rust from a binary installation. To build Rust see further instructions.