Stream: t-compiler/wg-incr-comp

Topic: error compiling rustc


view this post on Zulip Santiago Pastorino (Sep 03 2020 at 12:59):

trying to compile the compiler with incr on and getting ...

view this post on Zulip Santiago Pastorino (Sep 03 2020 at 12:59):

error[E0460]: found possibly newer version of crate `std` which `rustc_ast` depends on
 --> compiler/rustc_parse/src/lib.rs:9:5
  |
9 | use rustc_ast as ast;
  |     ^^^^^^^^^
  |
  = note: perhaps that crate needs to be recompiled?
  = note: the following crate versions were found:
          crate `std`: /home/santiago/src/oss/rust1/build/x86_64-unknown-linux-gnu/stage0-sysroot/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-bb7d6db1bd4e75df.rmeta
          crate `rustc_ast`: /home/santiago/src/oss/rust1/build/x86_64-unknown-linux-gnu/stage0-rustc/x86_64-unknown-linux-gnu/release/deps/librustc_ast-a592480f4319a960.rmeta

view this post on Zulip Santiago Pastorino (Sep 03 2020 at 12:59):

I'm not sure if that's exactly related with incremental compilation, investigating but if someone have pointers before I destroy the metadata would be welcome :)

view this post on Zulip Santiago Pastorino (Sep 03 2020 at 13:01):

just in case I'm not using keep-stage or anything like that

view this post on Zulip Santiago Pastorino (Sep 03 2020 at 13:01):

just ./x.py build library/std


Last updated: Oct 21 2021 at 20:33 UTC