forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Using Rust on Windows
vadimcn edited this page Oct 10, 2014
·
22 revisions
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
gcc
as a linker driver, and will search for it in the systemPATH
before searching in the private directory. This means that any other versions found onPATH
will override the one bundled with Rust, and may cause linking errors if they aren't compatible. The solution is to strip down thePATH
in the console session used to launchrustc
. - The 32-bit binaries produced by
rustc
will 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/bin
directory.
The 64-bit binaries are dependency-free.
These instructions cover running Rust from a binary installation. To build Rust see further instructions.
All Categories:
- Docs -- For users
- Notes -- For developers
- Libs -- For library authors
- Meeting minutes