BurtonQin / lockbud

Statically detect memory, concurrency bugs and possible panic locations for Rust.
BSD 3-Clause "New" or "Revised" License
445 stars 25 forks source link

run ./detect.sh failed #44

Closed wasd96040501 closed 1 year ago

wasd96040501 commented 1 year ago

error: failed to run rustc to learn about target-specific information

Caused by: process didn't exit successfully: /home/luoyangze.ptrl/rust/lockbud/target/debug/lockbud rustc - --crate-name ___ --print=file-names --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg (exit status: 127) --- stderr /home/luoyangze.ptrl/rust/lockbud/target/debug/lockbud: error while loading shared libraries: librustc_driver-281a9b3e4c740b61.so: cannot open shared object file: No such file or directory

BurtonQin commented 1 year ago

Note that you must use the same rustc nightly version as lockbud to detect your project.