mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
print_backtrace: do not use printf directly
This commit is contained in:
parent
d681e1cae3
commit
83d724fb70
@ -35,7 +35,7 @@ pub fn print_backtrace_skipping_top_frames(skipframes int) {
|
||||
C.printf('Some libc implementations like musl simply do not provide it.\n')
|
||||
}
|
||||
}
|
||||
C.printf('print_backtrace_skipping_top_frames is not implemented on this platform for now...\n')
|
||||
println('print_backtrace_skipping_top_frames is not implemented on this platform for now...\n')
|
||||
}
|
||||
pub fn print_backtrace(){
|
||||
// at the time of backtrace_symbols_fd call, the C stack would look something like this:
|
||||
|
Loading…
Reference in New Issue
Block a user