Closed
Description
I was in the middle of bisecting on system llvm and running x.py test src/libstd --stage 1
when I noticed that, in fact, while each step was rebuilding the compiler with the changed llvm correctly, the test that was being run was never recompiled, such that the same one was always running, and my bisect was guided by wrong results.
STR:
- Run
x.py test src/libstd --stage 1
once - Touch anything that is part of e.g. librustc_codegen_llvm.so, e.g.
src/librustc_llvm/lib.rs
- Run
x.py test src/libstd --stage 1
again
Expected result:
- Both librustc_codegen_llvm.so and the test are rebuilt, and the rebuilt test executed.
Actual result:
- librustc_codegen_llvm.so is rebuilt, the test is not, and the test built before the codegen changes is executed.