-
Notifications
You must be signed in to change notification settings - Fork 10
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
Missing values in libc
in latest nightly
#25
Comments
Unfortunately the We are in the midst of reorganizing the For now, the simplest quick-start option is probably to clone https://github.com/Meziu/ctru-rs (which we are working to upstream to the As far as I know, those should mostly work with just Let me know if you have troubles, I'd like to make it as simple as possible for people to start using |
Hmm, after trying myself I realize there seems to have been a regression in std nightly for horizon (similarly, ESP-IDF and Redox had fixes around this): rust-lang/rust@e86c128 If you try with an older nightly (e.g. |
Thanks for looking into this. I will try switching to a different nightly and attempt compiling again. I'll let you know if everything works. |
I am able to compile the Rust source for the hello world example from the Meziu repository but the linker fails with the following error:
|
I've made a fix in my local repository (it's just 2 lines of |
I've opened rust-lang/rust#100249 |
This shouldn't happen in a clean install. I'd suggest to |
Hi @Meziu, I used the devkitPro pacman command to install the latest version of devkitARM along with the examples. To install the Rust toolchain, I ran the following commands:
While I was writing out these steps, I also looked at my
Now, I am able to compile the 3dsx file 👍 I guess the link-time optimizations were removing needed methods. |
Indeed. Because of some issues with how the libraries are linked, |
Whenever I try to compile
rust3ds-template
project usingcargo 3ds build
, I get the following error:I have tried running
cargo clean
,cargo update
, and I have even deleted the entire folder and started over.My version of nightly is:
The text was updated successfully, but these errors were encountered: