Skip to content

Commit ea7d78e

Browse files
committed
---
yaml --- r: 1530 b: refs/heads/master c: 5041944 h: refs/heads/master v: v3
1 parent fe0280c commit ea7d78e

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
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: e621f1ef9e9d1488078513398bce7479d509edeb
2+
refs/heads/master: 5041944fd2736ad9782df07f792c19dcc97db8f7

trunk/src/rt/rust_crate_cache.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ rust_crate_cache::c_sym::c_sym(rust_dom *dom, lib *library, char const *name)
4949
dom->log(rust_log::CACHE, "resolved symbol '%s' to 0x%" PRIxPTR,
5050
name, val);
5151
} else {
52-
dom->log(rust_log::CACHE, "unresolved symbol '%s', null lib handle",
52+
dom->log(rust_log::CACHE | rust_log::ERR,
53+
"unresolved symbol '%s', null lib handle",
5354
name);
5455
}
5556
}
@@ -79,7 +80,7 @@ rust_crate_cache::rust_sym::rust_sym(rust_dom *dom,
7980
typedef rust_crate_reader::die die;
8081
rust_crate const *crate = (rust_crate*)crate_sym->get_val();
8182
if (!crate) {
82-
dom->log(rust_log::CACHE,
83+
dom->log(rust_log::CACHE | rust_log::ERR,
8384
"failed to resolve symbol, null crate symbol");
8485
return;
8586
}

0 commit comments

Comments
 (0)