Update: The error can be reproduced by simply an empty code block, {}.
This code
use ufmt_stdio::*;
d_println!("this is shown only in Debug mode")
causes a compilation error (or crash?) if in Release mode. I also tried variants where code inside the println macro is disabled by a const variable or a feature flag, and I get the same error. It seems to be a problem when the macro is empty.
Update: The error can be reproduced by simply an empty code block,
{}
.This code
causes a compilation error (or crash?) if in
Release
mode. I also tried variants where code inside theprintln
macro is disabled by a const variable or a feature flag, and I get the same error. It seems to be a problem when the macro is empty.The errors look like this:
Meta
I'm using the
mrkits/rust-mos:latest
docker image.rustc --version --verbose
: