-
-
Notifications
You must be signed in to change notification settings - Fork 170
Added macros print!
and println!
#430
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
Conversation
Created two macros for printing to stdout
Note: I used |
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.
Code looks good overall! I've left some small feedback comments, and also noticed that CI failed due to formatting issues
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.
Code looks good overall! I've just realized we don't have any tests for these new macros. Could you call them somewhere in the uefi-test-runner
crate? We could replace some info!
call with println!
, for example.
OK, will look into it. |
Hi @JonahPlusPlus - do you have a status update on this PR? |
Tests formatting with macros.
Forgot period
Apologies, this slipped my mind with other projects. I added print! and println! calls with formatting to demonstrate their use. |
Formatting
clippy doesn't like constant strs in formatting
clippy again
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.
Thank you, the PR looks good now!
print!
and println!
Added two macros to print to stdout. If SYSTEM_TABLE is None, they panic.