diff options
| author | Graydon Hoare <[email protected]> | 2011-03-24 12:20:48 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-03-24 12:20:48 -0700 |
| commit | 99682db53c64fe6640623d79667b3ebbfc5fec68 (patch) | |
| tree | e1c9a6d2eac6ace93f9847827573228ce1facf17 /src/rt/rust_upcall.cpp | |
| parent | Teach creader about reading ty_float, and trim trailing whitespace. (diff) | |
| download | rust-99682db53c64fe6640623d79667b3ebbfc5fec68.tar.xz rust-99682db53c64fe6640623d79667b3ebbfc5fec68.zip | |
Make symbol resolution failures log under rust_log::ERR flag as well.
Diffstat (limited to 'src/rt/rust_upcall.cpp')
| -rw-r--r-- | src/rt/rust_upcall.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp index 19f1ec90..f5fa00f9 100644 --- a/src/rt/rust_upcall.cpp +++ b/src/rt/rust_upcall.cpp @@ -535,8 +535,8 @@ upcall_require_c_sym(rust_task *task, task->log(rust_log::UPCALL | rust_log::CACHE, "found-or-cached addr: 0x%" PRIxPTR, addr); } else { - task->log(rust_log::UPCALL | rust_log::CACHE, - "failed to resolve symbol"); + task->log(rust_log::UPCALL | rust_log::CACHE | rust_log::ERR, + "failed to resolve symbol %s in %s", symbol, library); task->fail(6); } return addr; |