提交 54aff74a 编写于 作者: T Tim Chevalier 提交者: Graydon Hoare

Slightly more helpful error message for "null lib handle"

I changed the error message to also suggest checking the -L flag
when this happens.
上级 93845d0b
......@@ -49,7 +49,8 @@ rust_crate_cache::c_sym::c_sym(rust_dom *dom, lib *library, char const *name)
DLOG(dom, cache, "resolved symbol '%s' to 0x%" PRIxPTR,
name, val);
} else {
DLOG_ERR(dom, cache, "unresolved symbol '%s', null lib handle", name);
DLOG_ERR(dom, cache, "unresolved symbol '%s', null lib handle\n"
"(did you omit a -L flag?)", name);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册