Skip to content

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

Merged
FrictionlessPortals merged 2 commits into
rust-wii:mainfrom
linkmauve:println-dolphin
Dec 20, 2021
Merged

Add println!() support, working in Dolphin#12
FrictionlessPortals merged 2 commits into
rust-wii:mainfrom
linkmauve:println-dolphin

Conversation

@linkmauve
Copy link
Copy Markdown
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
Copy Markdown
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