-
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
Use cargo --unit-graph
to figure out whether to link debuginfo
#47
Conversation
We can check if `ctru-sys` is being built with debuginfo this way, and use that to build the stdlib with the same linker flags as ctru-sys is expected to use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, we had discussed about this possibility already, and it seems like a suitable solution.
Btw, this might warrant a new release on crates.io, since it has changes regarding the whole toolchain. |
Good point, do you think we should bump the version to 0.2.0 for this? |
Nah, I don’t think it’s necessary. Just bump the patch number.
Yeah, I’ve been doing it manually. Everybody in the team group should be able to publish. |
Maybe closes #14 ? I'm not positive...
With
--unit-graph
we can figure out whetherctru-sys
will be built with debug symbols or not, and pass the appropriate-l
flags incargo-3ds
.Hopefully, this will always link the proper version of the library and we won't run into linker issues like these again, but it might need a bit of usage to work out the kinks.