Skip to content

Commit 34df55d

Browse files
ThePuzzlemakermark-i-m
authored andcommitted
Add information about size for building the Rust Compiler
The Rust codebase is large, not to mention the submodules. It would be helpful for some to have a warning or note about storage required before they spend possible hours to build, only to get a message in some form that they are running out/already out of storage. I did a stage1 build incrementally and it produced a build directory of about 14 gigabytes.
1 parent a10ba12 commit 34df55d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/building/how-to-build-and-run.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ process described above, producing a usable compiler toolchain from the source
118118
code you have checked out. This takes a long time, so it is not usually what
119119
you want to actually run (more on this later).
120120

121+
Note that building will require a relatively large amount of storage space.
122+
You may want to have upwards of 10 or 15 gigabytes available to build the compiler.
123+
121124
There are many flags you can pass to the build command of `x.py` that can be
122125
beneficial to cutting down compile times or fitting other things you might
123126
need to change. They are:

0 commit comments

Comments
 (0)