bazelbuild / bazelbuild/rules_rust
External relative path dependencies not working
- Dominant language
- Starlark
- Stars
- 843
- Forks
- 651
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 15
Description
With https://github.com/bazelbuild/rules_rust/pull/3025, we ought to be able to use relative path dependencies.
That's not working for me.
You can check my code out in https://github.com/github/codeql/tree/criemen/rules-rust-upg, and run
`bazel run //misc/bazel/3rdparty:vendor_ruby_deps`.
I'm getting
```
INFO: Running command line: bazel-bin/misc/bazel/3rdparty/vendor_ruby_deps.sh
error: failed to load manifest for workspace member `/tmp/.tmpFAhxxI/extractor`
referenced by workspace at `/tmp/.tmpFAhxxI/Cargo.toml`
Caused by:
failed to load manifest for dependency `codeql-extractor`
Caused by:
failed to read `/tmp/shared/tree-sitter-extractor/Cargo.toml`
Caused by:
No such file or directory (os error 2)
Error: Failed to fetch crates for lockfile: exit status: 101
```
Contributor guide
Assessment
This issue has not been assessed yet.