Skip to content

Commit 8101a1c

Browse files
committed
---
yaml --- r: 329 b: refs/heads/master c: 9935a48 h: refs/heads/master i: 327: 9b2bb7e v: v3
1 parent 9712270 commit 8101a1c

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 53f787e0b3ebe95f8b771d219eb4370f8871c4e8
2+
refs/heads/master: 9935a48e95e1a56b64f08e42abfae496f2906705

trunk/src/rt/rust_dom.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ rust_dom::start_main_loop()
339339
I(this, scheduled_task->running());
340340

341341
log(rust_log::TASK,
342-
"activating task 0x%" PRIxPTR ", sp=x%" PRIxPTR,
342+
"activating task 0x%" PRIxPTR ", sp=0x%" PRIxPTR,
343343
(uintptr_t)scheduled_task, scheduled_task->rust_sp);
344344

345345
interrupt_flag = 0;

trunk/src/rt/rust_task.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,9 @@ rust_task::run_after_return(size_t nargs, uintptr_t glue)
280280

281281
uintptr_t *retpc = ((uintptr_t *) sp) - 1;
282282
dom->log(rust_log::TASK|rust_log::MEM,
283-
"run_after_return: overwriting retpc=x%" PRIxPTR
284-
" @ runtime_sp=x%" PRIxPTR
285-
" with glue=x%" PRIxPTR,
283+
"run_after_return: overwriting retpc=0x%" PRIxPTR
284+
" @ runtime_sp=0x%" PRIxPTR
285+
" with glue=0x%" PRIxPTR,
286286
*retpc, sp, glue);
287287

288288
// Move the current return address (which points into rust code)
@@ -301,9 +301,9 @@ rust_task::run_on_resume(uintptr_t glue)
301301
uintptr_t* rsp = (uintptr_t*) rust_sp;
302302
rsp += n_callee_saves;
303303
dom->log(rust_log::TASK|rust_log::MEM,
304-
"run_on_resume: overwriting retpc=x%" PRIxPTR
305-
" @ rust_sp=x%" PRIxPTR
306-
" with glue=x%" PRIxPTR,
304+
"run_on_resume: overwriting retpc=0x%" PRIxPTR
305+
" @ rust_sp=0x%" PRIxPTR
306+
" with glue=0x%" PRIxPTR,
307307
*rsp, rsp, glue);
308308
*rsp = glue;
309309
}

0 commit comments

Comments
 (0)