align cluster and sim logging as hex (#13484)

This commit is contained in:
Jack May 2020-11-09 18:43:20 -08:00 committed by GitHub
parent c0e2ef06dc
commit c280d40b40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -41,7 +41,10 @@ pub(crate) fn sol_log(message: &str) {
}
pub(crate) fn sol_log_64(arg1: u64, arg2: u64, arg3: u64, arg4: u64, arg5: u64) {
sol_log(&format!("{} {} {} {} {}", arg1, arg2, arg3, arg4, arg5));
sol_log(&format!(
"{:#x}, {:#x}, {:#x}, {:#x}, {:#x}",
arg1, arg2, arg3, arg4, arg5
));
}
pub(crate) fn sol_log_compute_units() {