Open VorpalBlade opened 4 months ago
Update: This seems to happen on any project I try. Even a simple hello world one.
It happened to me too.
LD_LIBRARY_PATH=$HOME/.rustup/toolchains/nightly-2023-12-07-x86_64-unknown-linux-gnu/lib/ cargo mirai
works as a workaround for me. This suggests somehow the linking is screwed up, perhaps it should use rpath
?
It seems that something has changed in cargo that breaks plugins like MIRAI. I'll try to look into it, but it is going to take a while before I can get to it.
Issue
I tried to run mirai on one of my projects (a simple no-std library for parsing INI files) and got a very strange error.
Steps to Reproduce
Expected Behavior
Not give a strange error aout a rustc driver .so file?
Actual Results
Environment
Rust version (rustc --version): rustc 1.79.0 (129f3b996 2024-06-10) Mirai commit: 6a91ee00efcd5eb0b8eab51fa51ab00f0f22eb13 OS: Arch Linux (rolling release) Rust is installed via rustup