How to re-run libstd tests quickly?

#1

I’m doing some development on libstd (in particular, thread-local storage). I’m using ./x.py test src/libstd , and whenever I change anything, it re-compiles everything from scratch, which takes on the order of 10 minutes.

Is there any way for me to make a modification to a single file in libstd and then recompile the tests in a way that doesn’t start over from scratch and is faster?

0 Likes

#2
        --keep-stage N  stage to keep without recompiling

I think you’ll want --keep-stage 1 in this case.

3 Likes

#3

Ah perfect, thanks!

0 Likes

closed #4

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

0 Likes