Open Edivad99 opened 2 months ago
Hi. Have you solved the problem? I did not get results after running cargo mirai in the root directory of a project.
@linchengLi-l nope
I have had other reports of this as well. Sadly, I can't reproduce it locally. I've been told that, for Linux, setting the LD_LIBRARY_PATH variable does the trick. For your case, DYLD_LIBRARY_PATH=/Users/davide/.rustup/toolchains/nightly-2023-12-30-aarch64-apple-darwin/lib
might do the trick.
This is a change in behavior in the Rust runtime that happened somewhere in the last year. If anyone has any pointers to what is really going on here, I'd very happy to hear from you.
It is conceivable that the problem David Tolnay kindly fixed in https://github.com/endorlabs/MIRAI/pull/4, is related to this. If syncing up to the latest version of MIRAI makes the problem go away for you, I'd very much appreciate hearing from you.
Issue
When I run
cargo mirai
I get this error:Steps to Reproduce
Expected Behavior
Not to crash
Environment
Rust version (rustc --version) rustc 1.81.0 (eeb90cda1 2024-09-04)