Open theoparis opened 1 month ago
You are guessing... incorrectly in at least one case... as to what the fields mean and how they should be used.
You should try to base your target spec on https://github.com/rust-lang/rust/blob/18deb53874ac4701ba10ebc016cb8cde7a049b82/compiler/rustc_target/src/spec/base/apple/mod.rs
In order for this bug report to be useful, you also will need to create a much more complete description of build steps. You have not actually named the command that you ran or other build parameters.
You should try to base your target spec on https://github.com/rust-lang/rust/blob/18deb53874ac4701ba10ebc016cb8cde7a049b82/compiler/rustc_target/src/spec/base/apple/mod.rs
In particular you are missing "emit-debug-gdb-scripts": false
.
I tried to compile a bare metal aarch64 Rust Mach-O binary with the following target json spec:
I expected to see this happen: No errors
Instead, this happened:
Meta
rustc --version --verbose
:Unfortunately RUST_BACKTRACE=1 doesn't change anything so I cannot give backtrace at the moment. I will look into building rustc if needed.