How can we make it easier to build Rust faster?


Hello, I just recently started investigating Rust again after a long absence and the Rust compiler is still slow to build.

I think I can build Rust faster than normal by passing the options CC='ccache clang-3.6' CXX='ccache clang++-3.6' CFLAGS='-gsplit-dwarf" -j3 to the make command (by the way when did things change so that I can’t do that for the configure command and why so?) but many people won’t know that. Also, this could be easier.

Also there are more possibilities for making Rust build faster such as listed at (building LLVM is a big chunk of the compile time for Rust.)


closed #2

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.