Stream: general

Topic: stage 0 testing


RalfJ (Oct 19 2019 at 09:25, on Zulip):

I just added a new UI test and didn't want to build a full rustc so I did ./x.py --stage 0 test src/test/ui. but that builds LLVM so it takes forever (way longer than rustc -- and with LLVM being updated so often these days... I digress). Is it expected that this will build LLVM? it should use the stage 0 (bootstrap) compiler, I thought?

simulacrum (Oct 19 2019 at 12:32, on Zulip):

If it did, you would see tons of test failures for everything that's changed since beta?

simulacrum (Oct 19 2019 at 12:33, on Zulip):

So that seems like not what you want.

RalfJ (Oct 20 2019 at 10:38, on Zulip):

hm, fair. I thought I could avoid building a compiler but you are right, that makes no sense.

RalfJ (Oct 20 2019 at 10:39, on Zulip):

there were some cool plans at the all-hands to make it use pre-built toolchains :D

simulacrum (Oct 20 2019 at 14:59, on Zulip):

Yeah, I need to get around to it. It's one of those things that I really want to do but can never find the energy to

RalfJ (Oct 21 2019 at 16:58, on Zulip):

I feel you. that's okay, some day it'll get you and you'll lose a few nights sleep for it ;)

matklad (Oct 25 2019 at 16:45, on Zulip):

@RalfJ switching to system's LLVM was one of the best decisions to speed up my compiler workflow, see https://github.com/rust-lang/rustc-guide/pull/422/files

RalfJ (Oct 25 2019 at 18:21, on Zulip):

@matklad hm, good point, I might try that

Last update: Nov 21 2019 at 23:25UTC