-
Notifications
You must be signed in to change notification settings - Fork 434
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
Example of local path crate dependency? #2961
Comments
@sthornington I had to symlink external directories into the workspace to get it to work for me. |
But they are still crates and lacking BUILD files? I haven't even been able to get this working... cargo-bazel gives some sort of splicing error. What version of rules_rust are you on? |
I can't even figure out how to get |
I narrowed my problem down to this code: ... it works if I just cut that out and evaluate to false. I'm happy to submit a PR for that change, but it would be helpful to know why that logic is there in the first place ...? @illicitonion any ideas? |
Never mind, that was insufficient, getting |
I have no idea how this is supposed to work, what would it put into |
@illicitonion sorry to ping you on this - hypothetically, is getting this to work something I could sponsor you or someone to do? I do a lot of co-iteration on crates and bazel projects which depend on them, so it would be very convenient to be able to change a |
Does anyone have a working example of a cargo crate dependency in a crate_universe which is referred to by path on disk? Or any way to depend upon a local copy of a crate that you are actively working on?
I am having terrible trouble actively iterating on crates that I depend upon alongside a Bazel workspace that uses them...
The text was updated successfully, but these errors were encountered: