Skip to content
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

Add println!() support, working in Dolphin #12

Merged
merged 2 commits into from
Dec 20, 2021

Conversation

linkmauve
Copy link
Collaborator

Once #9 gets fixed to work with a real USB Gecko, this will have to do as a way to communicate with the outside world for debugging purposes.

I quite dislike how the alloc and luma_core crates must be imported under these names in order for my macro to work, but I couldn’t figure out a better way which still compiles.

It also displays panic!() info using this new printing facility.

Once rust-wii#9 gets fixed to work with a real USB Gecko, this will have to do
as a way to communicate with the outside world for debugging purposes.

I quite dislike how the alloc and luma_core crates must be imported
under these names in order for my macro to work, but I couldn’t figure
out a better way which still compiles.
This has the same limitation as println!(), it works only in Dolphin
until rust-wii#9 gets merged.
@FrictionlessPortals
Copy link
Contributor

LGTM, thanks!

@FrictionlessPortals FrictionlessPortals merged commit 04e55b7 into rust-wii:main Dec 20, 2021
@linkmauve linkmauve deleted the println-dolphin branch December 20, 2021 01:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants