'inconsistent target specification' on custom .json target #78981
Labels
A-target-specs
Area: Compile-target specifications
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Hello everyone, this is my first Issue on the Rust project, let me know if I'm doing anthing wrong !
Problem
I am in the process of building a library/runtime for the Wii fully written in Rust. To acheive this goal, I need to cross-compile my library to a custom target I named
powerpc-none-eabi
.The json file contains
"target-endian": "big"
and"data-layout": "E-m:e-p:32:32-i64:64-n32"
along other lines to define the architecture.Normally, the build completes without an issue.
On the latest nighlty, the compiler fails and return:
Of course,
target-endian
is set tobig
in the file, so this shouldn't happen.Version it worked on
It most recently worked on:
rustc --version --verbose
:Version with regression
It fails on this nightly, currently latest at the time of writing:
rustc --version --verbose
:I can provide any file or other precision if necessary !
Thanks for reading my report !
The text was updated successfully, but these errors were encountered: