detect another printing function for nicer error
This commit is contained in:
parent
5bd02b7c07
commit
f6d4814fb3
@ -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."
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user