Fix bug in bind thunks failing top drop unbound args; add test and adjust rustc to use bind again.
This commit is contained in:
parent
62c224ffe4
commit
2e0d075407
5 changed files with 33 additions and 5 deletions
|
@ -338,6 +338,10 @@ debug_fn(rust_task *task, type_desc *t, rust_fn *fn)
|
|||
debug_tydesc_helper(task, t);
|
||||
task->log(rust_log::STDLIB, " thunk at 0x%" PRIxPTR, fn->thunk);
|
||||
task->log(rust_log::STDLIB, " closure at 0x%" PRIxPTR, fn->closure);
|
||||
if (fn->closure) {
|
||||
task->log(rust_log::STDLIB, " refcount %" PRIdPTR,
|
||||
fn->closure->ref_count);
|
||||
}
|
||||
}
|
||||
|
||||
extern "C" CDECL void *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue