-
Notifications
You must be signed in to change notification settings - Fork 11
Unable to use local clone of rust-gpu #55
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
Comments
Oh! Sorry about that, we did actually at least write some code to support paths, but we've never tested it, so it's fallen by the wayside. We'll fix it soon! |
Apparently
|
That has same error, it tries to clone |
This is most definitely a use case I though we supported, so good catch on this bug @tmvkrpxl0 . We'll have to add this to our CI tests as a requirement of closing this ticket. |
I'm working this this issue along with #66 |
@tmvkrpxl0 I'm not sure I'm following, can you point me the code you're asking about? The only instance where Or maybe you're talking about |
line 209 in crates/cargo-gpu/src/install.rs |
Ah, ok, I think there may just be a misunderstanding here. The binding name is So, onward - if the built The reason we do this is because We have talked about merging Another complication is that folks use different Arguably these complications are why |
I started working on that, as in fact The cli should not change at all, but makes the internal workings a lot simpler, and may significantly simplify the path to build scripts with cargo gpu as a lib. |
Below is Cargo.toml file of my shader crate:
This fails to build with below error:
The path '/home/tmvkrpxl0/CLionProjects/rust-gpu/crates/spirv-std' indeed exist. It's just not root of git repository. I did use git to clone that repo but the
.git
directory is located at '/home/tmvkrpxl0/CLionProjects/rust-gpu/.git'The text was updated successfully, but these errors were encountered: