Use real panic that reports file/line (#4758)

This commit is contained in:
Jack May
2019-06-20 19:10:03 -07:00
committed by GitHub
parent 425ac8d520
commit 4177c56c51
4 changed files with 31 additions and 20 deletions

View File

@ -28,5 +28,5 @@ fn panic(info: &PanicInfo) -> ! {
}
}
extern "C" {
pub fn sol_panic_(message: *const u8, line: u64, column: u64) -> !;
pub fn sol_panic_(file: *const u8, line: u64, column: u64) -> !;
}