earlyprint

Macro earlyprint 

Source
macro_rules! earlyprint {
    ($fmt: literal $(, $($arg: tt)+)?) => { ... };
}
Expand description

打印格式化文本到控制台

这个宏类似于标准库的 print! 宏,但使用 SBI 调用将文本输出到控制台。 它不会在末尾添加换行符。

§Examples

print!("Hello, world!");
print!("The answer is {}", 42);