-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Invalid target files cause an ICE #86017
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thank you for filing an issue! When I click that linked you posted, I get an error. Is it set that other people can view it? |
Sorry, I have fixed the typo. Now the link should be right.(next time I will be more careful to check my issue) |
The root of the issue is in the target definition file that the repository contains, however there are three other bugs that can be fixed in rustc:
|
The minimal target file to reproduce: {
"arch": "x86_64",
"data-layout": "e-m:e-i64:64-f80:128-n8:16:32:64-S128",
"is-builtin": true,
"llvm-target": "x86_64-unknown-unknown-gnu",
"target-pointer-width": "64"
} with echo '#![feature(no_core)] #![no_core]' | rustc --target the_file.json - |
(@bookofportals is a 404 🤔) |
Issue: rust-lang/rust#86017
Issue: rust-lang/rust#86017
I'm new to Rust and I try to compile a project with a build.sh.(I'm also new to that project and that project is not well organized.)
when I use Makefile to make, the process of making executes build.sh and it reports it's a bug, so I'm here.
build.sh
I'm fresh here so if there is some information I don't provide, please tell me and I will try my best to provide it.
Thank you!
Code
here I couldn't provide the example code since I don't really know the minimal set of code to be compiled
the source code of the repo is in sel4-rust
rustc should be in the nightly mode
rust code is in the rust/sel4-rust/
make
insel4
directory will executebuild.sh
inrust/sel4-rust/
directory<code>
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: