Open jyn514 opened 4 years ago
Maybe this is actually an x.py bug, since the folder is in stage1
and not stage0-sysroot
? Not sure where to report it.
Can you reproduce this with xargo directly, independent of Miri or x.py? If no, this is likely the wrong repository.
The rust repository might be a better fit also because to me this looks first like a cranelift issue.^^ xargo does not even interact much directly with rustc (just a bit via rustc_version
), it mostly calls cargo in special ways.
I'm not sure where I would start trying to reproduce this.
cc @bjorn3 - do you know what's going wrong here?
Does it work with --stage 1
?
I think I now what happens. Tools require Rustc
instead of Assemble
. This means that CodegenBackend
is never built and thus rustc fails when trying to load cg_clif.
... is this why you can't run tools in-tree?
https://zulip-archive.rust-lang.org/257328clippy/19387Runclippyintree.html
I am not quite sure that has the same reason, but it could be.