Use msg! in program entrypoint (#13889)

This commit is contained in:
Jack May 2020-12-01 02:56:26 -08:00 committed by GitHub
parent 8fd1e55805
commit 57dd60f671
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,7 +67,7 @@ macro_rules! entrypoint {
#[no_mangle]
fn custom_panic(info: &core::panic::PanicInfo<'_>) {
// Full panic reporting
$crate::info!(&format!("{}", info));
$crate::msg!("{}", info);
}
/// # Safety