Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make FindRust gracefully fail if rustc not found
Earlier a missing .cargo/bin/rustc would fail with The system cannot find the file specified CMake Error at corrosion/cmake/FindRust.cmake:171 (get_filename_component): get_filename_component called with incorrect number of arguments Now it prints a more descriptive errormessage, sets Rust_FOUND to false and returns. It also sets Rust_FOUND to true if a rust target is successfully created
- Loading branch information