-
Notifications
You must be signed in to change notification settings - Fork 2
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
error: failed to run rustc
to learn about target-specific information
#1
Comments
The error message has one 'help' and one 'note' statement worth trying. |
x86_64-kernel-freebsd is not in the list of build in targets, see: https://doc.rust-lang.org/nightly/nightly-rustc/rustc_target/spec/index.html#modules |
I tried the help statement. As you stated in your second comment:
|
I got the target spec. errors to disappear. Now I have a bunch of Rust errors. I've forked the repo. |
This repo is quite old and a lot has changed in Rust since then so I'm not surprised if this method doesn't work at all anymore. Xargo functionality is now found in Cargo I think. Using rust nightly of the time this repo was created is your best chance unless you want to spend a lot of time changing the code to work with newer rust. |
The allocator API also changed a lot but I can't recall if that was before or after I did this project. |
I'm gonna shoot for updating all the code to use current FreeBSD release and Rust version (as an undergraduate course project). Do you remember how long it took to get this project working originally? |
Hmm sorry I don't remember how long but it's definitely within the scope of one course, especially if you can build on this old repo. Good luck and have fun :) |
After running
build.sh
:Is there any other information that would be useful in debugging this error?
Also, the target "x86_64-kernel-freebsd" is not built in to the Rust compiler. How is this target supported?
The text was updated successfully, but these errors were encountered: