Stream: t-compiler/help

Topic: Locally run a test in src/librustc_ast/util/comments/tests.r


lzutao (Jul 08 2020 at 05:46, on Zulip):

I tried this command: ./x.py t --stage 1 src/librustc_ast but all the output is just building the stage1 compiler:

Updating only changed submodules
Submodules updated in 0.05 seconds
    Finished dev [unoptimized + debuginfo] target(s) in 0.22s
Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
    Finished release [optimized] target(s) in 0.28s
Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Building stage0 compiler artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu)
    Finished release [optimized] target(s) in 0.31s
Copying stage0 rustc from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu)
Assembling stage1 compiler (x86_64-unknown-linux-gnu)
Build completed successfully in 0:00:01
lzutao (Jul 08 2020 at 05:57, on Zulip):

In the meantime, I just go to that crate and run cargo test.

Eric Huss (Jul 08 2020 at 14:59, on Zulip):

@lzutao Sorry, looks like I broke something in bootstrap. I will post a fix soon.

Eric Huss (Jul 08 2020 at 15:56, on Zulip):

Posted https://github.com/rust-lang/rust/pull/74153

lzutao (Jul 09 2020 at 07:08, on Zulip):

Nice. Thanks.

Last update: Sep 28 2020 at 16:30UTC