detect another printing function for nicer error

This commit is contained in:
Ralf Jung 2018-07-26 17:30:52 +02:00
parent 5bd02b7c07
commit f6d4814fb3

View File

@ -759,7 +759,8 @@ fn call_missing_fn(
match &path[..] {
// A Rust function is missing, which means we are running with MIR missing for libstd (or other dependencies).
// Still, we can make many things mostly work by "emulating" or ignoring some functions.
"std::io::_print" => {
"std::io::_print" |
"std::io::_eprint" => {
warn!(
"Ignoring output. To run programs that print, make sure you have a libstd with full MIR."
);