Replies: 1 comment
-
The
I agree. When we get to wrappers for |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In C, the
KdPrint
macro is convenient to add trace only in checked builds.In Rust, we could have something like this:
Which could be used this way
Here I kept the DbgPrint string formatting instead of relying on the Rust one.
The purpose is to be able to easily log a
UNICODE_STRING
.But having a UNICODE_STRING type which is displayable with
println!
would be better.Having something similar which is built-in the crate, would be nice, at least for me :-) .
Beta Was this translation helpful? Give feedback.
All reactions