You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
They do not print format strings with no arguments (e.g., hprint!("{address}") is sugar for hprint!("{}", address), which is a deviation from the stdlib print! macros using format_args!.
If it's acceptable performance-wise, I can submit a PR to use e.g. hstdout_fmt in this case instead of hstdout_str, otherwise I can document this deviation.
The text was updated successfully, but these errors were encountered:
In the
hprint!
macros:cortex-m/cortex-m-semihosting/src/macros.rs
Lines 36 to 44 in f2fc7d3
They do not print format strings with no arguments (e.g.,
hprint!("{address}")
is sugar forhprint!("{}", address)
, which is a deviation from the stdlibprint!
macros usingformat_args!
.If it's acceptable performance-wise, I can submit a PR to use e.g.
hstdout_fmt
in this case instead ofhstdout_str
, otherwise I can document this deviation.The text was updated successfully, but these errors were encountered: