Stream: t-compiler/help

Topic: Settings for fast rebuilds when working on HIR/lowering?

osa1 (Nov 28 2019 at 20:50, on Zulip):

What is the fastest way to rebuild stage 1 compiler when working on librustc/hir? Currently adding a single debug! line takes 12m with ./ build --stage 1 -j 8.

osa1 (Nov 28 2019 at 20:53, on Zulip):

I think --stage 1 rebuilds libraries too, which makes sense, but my changes won't be changing generated code so if possible I'd like to avoid that and only build the compiler. Is this possible?

simulacrum (Nov 28 2019 at 21:19, on Zulip):

you can likely get away with build --stage 1 src/libtest

osa1 (Nov 29 2019 at 07:50, on Zulip):

Just tired that, but it still rebuilds std.

Last update: Sep 18 2020 at 19:00UTC