summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-07-03 05:02:51 -0700
committerGitHub <noreply@github.com>2016-07-03 05:02:51 -0700
commit20183f498fbd8465859bf47611e1165768b9cc59 (patch)
treea792fda9ee1e44ef38224bbd7412360d3857fd6c /README.md
parentAuto merge of #34614 - cynicaldevil:build-time, r=alexcrichton (diff)
parentInstructions on how to build Rust with rustbuild (diff)
downloadgrust-20183f498fbd8465859bf47611e1165768b9cc59.tar.gz
grust-20183f498fbd8465859bf47611e1165768b9cc59.tar.bz2
grust-20183f498fbd8465859bf47611e1165768b9cc59.tar.xz
Auto merge of #34504 - retep998:patch-1, r=alexcrichton
Instructions on how to build Rust with rustbuild This is a much simpler option for those on Windows who use msvc.
Diffstat (limited to 'README.md')
-rw-r--r--README.md24
1 files changed, 19 insertions, 5 deletions
diff --git a/README.md b/README.md
index 9463b0e849..49236d6b67 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
1# The Rust Programming Language 1# The Rust Programming Language
2 2
3This is the main source code repository for [Rust]. It contains the compiler, standard library, 3This is the main source code repository for [Rust]. It contains the compiler,
4and documentation. 4standard library, and documentation.
5 5
6[Rust]: https://www.rust-lang.org 6[Rust]: https://www.rust-lang.org
7 7
@@ -114,6 +114,19 @@ $ ./configure
114$ make && make install 114$ make && make install
115``` 115```
116 116
117#### MSVC with rustbuild
118
119For those who don't want the hassle of MSYS or MinGW, you can invoke rustbuild
120directly. All you need are Python 2, CMake, and Git in your PATH (make sure you
121do __not__ use the ones from MSYS!). You'll also need Visual Studio 2013 or
122newer with the C++ tools. Then all you need to do is invoke the appropriate
123vcvars bat file and kick off rustbuild.
124
125```bat
126CALL "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\amd64\vcvars64.bat"
127python .\src\bootstrap\bootstrap.py
128```
129
117## Building Documentation 130## Building Documentation
118 131
119If you’d like to build the documentation, it’s almost the same: 132If you’d like to build the documentation, it’s almost the same:
@@ -154,8 +167,8 @@ Snapshot binaries are currently built and tested on several platforms:
154You may find that other platforms work, but these are our officially 167You may find that other platforms work, but these are our officially
155supported build environments that are most likely to work. 168supported build environments that are most likely to work.
156 169
157Rust currently needs between 600MiB and 1.5GiB to build, depending on platform. If it hits 170Rust currently needs between 600MiB and 1.5GiB to build, depending on platform.
158swap, it will take a very long time to build. 171If it hits swap, it will take a very long time to build.
159 172
160There is more advice about hacking on Rust in [CONTRIBUTING.md]. 173There is more advice about hacking on Rust in [CONTRIBUTING.md].
161 174
@@ -192,4 +205,5 @@ Rust is primarily distributed under the terms of both the MIT license
192and the Apache License (Version 2.0), with portions covered by various 205and the Apache License (Version 2.0), with portions covered by various
193BSD-like licenses. 206BSD-like licenses.
194 207
195See [LICENSE-APACHE](LICENSE-APACHE), [LICENSE-MIT](LICENSE-MIT), and [COPYRIGHT](COPYRIGHT) for details. 208See [LICENSE-APACHE](LICENSE-APACHE), [LICENSE-MIT](LICENSE-MIT), and
209[COPYRIGHT](COPYRIGHT) for details.