Closed andir closed 4 years ago
That looks supisciously like /nix/store/55vdqaa8jh1zbpy6pz4wm7bh2zkxyg6y-mrustc-0.9/bin/cargo
is actually mrustc's minicargo
minicargo
is not a drop-in replacement for cargo (just like mrustc
isn't a drop-in replacement for rustc
), What script are you using to build? TestRustcBootstrap.sh
should be using a mrustc-built copy of rustc/cargo (not directly using mrustc/minicargo)
Oh! I guess I'll have to build cargo first then. Some how I had the impression minicargo
would be suitable to build cargo
but not all the complicated cases cargo
supports.
There are makefiles in run_rustc
that build rustc and cargo, which are then used to do the full 1.30 bootstrap.
I am trying to boostrap rustc 1.29.0 with the 0.9 release of mrustc.
I can build mrustc just fine. I have aliased
minicargo
ascargo
to ease a bit of the plumbing in our rust boostrap code.Whenever I try to start building rust 1.29.0 it fails building the "real" cargo with the below output. I am wondering why nobody else every ran into this since it seems pretty "normal" for 1.29.0:
Looking at
TestRustcBootstrap.sh
I don't see an obvious difference in how things are being build.Complete log: