On Wed, Jun 11, 2025 at 2:05 PM Paolo Bonzini <pbonz...@redhat.com> wrote: > > On Wed, Jun 11, 2025 at 12:57 PM Manos Pitsidianakis > <manos.pitsidiana...@linaro.org> wrote: > > > Maybe we could take this chance to remove the requirement for trailing > > newline? Not urgent, and also something we could change afterwards > > anyway. We could also introduce log_mask_ln! macro but now I'm just > > bikeshedding. > > Good idea; there is no "formatln!" but I think you could use concat instead.
I think `let formatted_string = format!("{}\n", format_args!($fmt $($args)*));` might be sufficient, but I haven't checked it myself -- Manos Pitsidianakis Emulation and Virtualization Engineer at Linaro Ltd