Open rukai opened 5 years ago
Gah, whitespaces in paths, what a beautiful legacy we inherit from the past.
I'm using standard Path
and the cmake-rs crate and thought they should have handled that, but it seems not.
Apparently it's quite difficult to come up with an elegant solution. I tried to escape the space, or quote it, all are not working.
I think we may need to fix cmake-rs for this.
The root cause of the problem appears to be: https://github.com/google/shaderc/issues/473
Initially reported here: https://www.reddit.com/r/rust/comments/9ye5s8/vulkano_fails_to_compile_after_implementing/
Doing
cargo run --release
in the directory/home/rubic/dir with space oh no/shaderc-rs
Results in this compile error.This is the important line:
usr/bin/ar: /home/rubic/dir: No such file or directory
The path given to ar should be escaped.