How to force x.py to build from stage 2

#1

Hi Masters,

This is my first email in this comminity, hope you guys doing well. I am trying to port the rust to a new target, right now I am working on adding the target dependent part in libstd.The problem I am facing is if I change anything the whole building would start over: stage 0, stage 1, and stage 2 which takes a long time. Is there a way to force the build script to build from stage 2? My change only would be taken into use in stage 2, so not rebuilding stage 0 and stage 1 should be not a problem for my current work.

Thanks, Baoshan

0 Likes

#2

Does this help: https://rust-lang.github.io/rustc-guide/how-to-build-and-run.html#suggested-workflows-for-faster-builds-of-the-compiler

0 Likes

#3

Hi Mark,

That’s what I am looking for.

Thanks, Baoshan

1 Like