sigmaSd / IRust

Cross Platform Rust Repl

Home Page:https://crates.io/crates/irust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Async repl not working properly

NobodyXu opened this issue · comments

During the async mode (I was using tokio runtime), no matter what I enters, irust just silently accepts them without printing any result, even for the most simple expression 1 + 2.

Hello, that area indeed needs better error reporting

Usually to debug this, you can after inputing something to the repl and hitting enter, go to /tmp/irust_host_repl and run cargo r and it will show the error ( I suspect cargo add failed)

thanks for the bug report turns out it an actual issue, fixed in 5de6c9f

Actually I'll keep the issue open till next release

Thank you so much for the quick response!

You're welcome!