Closed
Description
For reference, the reddit thread, where the discussion started.
My goal
I want to hack on rustc. So I want to make a change, recompile as fast as possible and test the new binary with some input.rs.
The Problem
make
rebuilds libstd even if it's unchanged. This takes ages and can't be skipped.
How to reproduce
I'm on Fedora Linux 23, fully updated.
I started with a clone of the rust repo, in which I already compiled rustc more than once (so LLVM was already built etc.).
git reset --hard 298730e # this is the commit I used for this test
git clean -df
./configure --enable-debug
make rustc-stage1 NO_REBUILD=1
touch src/librustc_mir/lib.rs
make rustc-stage1 NO_REBUILD=1
As you can see in the output of the second make command libstd, libcore etc. get rebuilt.
Metadata
Metadata
Assignees
Labels
No labels