How to re-run libstd tests quickly?

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?

        --keep-stage N  stage to keep without recompiling

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

3 Likes

Ah perfect, thanks!

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