Eric McBride
Eric McBride
Im gonna try to knock this out. I have a use case for this, for tokio console.
You can use the `crate-annotation` key in your `WORKSPACE` file to declare any build.rs envs from crates you need. Here is an example using libsqlite ``` crates_repository( name = "crates_index",...
@r-wheeler I currently have it compiling to 2.4, just extended off of nemosupremo's solution and had to install googlemock to my usr/includes, and it worked fine.
This is awesome! What ive been looking for!
Be nice to run something like this for testing in the future [running a private crates io locally ](https://jfrog.com/devops-tools/article/how-to-run-a-private-cargo-registry/) so we can ensure major changes do not break private crates...
I ended up digging thru the code and debugging and the culprit seems to be the `isolated = true` default argument. If i run ``` CARGO_BAZEL_ISOLATED=false bazel build //... ```...
I will look at this today and see If ic an knock it out
Cool thanks i went ahead and added additional coverage
Ive noticed this as well and even with `CARGO_BAZEL_ISOLATED=false` pulling from private crates fails as well
I am using the `.cargo/config.toml` and ``` [registries.my_artifactory] index = "sparse+https://my_artifactory/artifactory/api/cargo/my_crates/index/" [registry] default = "my_artifactory" global-credential-providers = ["cargo:token"] ``` And using the credentials.toml / netrc for pulling. It works with...