Make failing to resolve a symbol an error

This commit is contained in:
Patrick Walton
2010-12-13 17:57:28 -08:00
parent 525966a543
commit 5a1cba7883

View File

@@ -486,7 +486,7 @@ upcall_require_rust_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,
task->log(rust_log::UPCALL | rust_log::CACHE | rust_log::ERR,
"failed to resolve symbol");
task->fail(7);
}