-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can we install the binaries just once to the .cargo/bin/, instead of per project? #34
Comments
Hey @Lokathor, I intentionally disabled building binary targets from the dependent C++ projects because
But I'm not exactly sure about your use case. If you can call the C++ binaries instead, then you don't need the Rust library wrapper, which is for integrating with other Rust modules? :) |
Maybe I don't understand how the crate works? When I built it on my machine I end up with binaries deep inside my target directory
Are those not important to the actual use of the crate? If they're not, why are they there. If they are, do I need to ship them with my program if I want my program to be able to compile GLSL->SPIRV? Because of their existence, I assumed that the crate is just calling out to them to do the work, but I guess I could be totally wrong. |
Hey @Lokathor, sorry for the late reply. The binaries compiled from C++ projects are not needed. (I turned off binary compilation switches in the build script but it seems some are not controlled by those switches, and they are still being compiled.) For those C++ projects, only |
Ah ha! This explains a lot! Well, I guess instead you've got a bug where some binaries are being built in error. |
Thanks @Lokathor, it would be nice if you can open another issue for the bug of "some binaries are being built in error." I'll close this one for now. :) |
Would it be possible to change the project's general setup so that the C++ binaries go into the
.cargo/bin/
directory, instead of having them be built per project and per project profile?The text was updated successfully, but these errors were encountered: