bazelbuild / bazelbuild/rules_rust
gen_rust_project doesn't respect --symlink_prefix=.bazel/
- Dominant language
- Starlark
- Stars
- 843
- Forks
- 651
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 15
Description
Hey, I'm not sure if this is the issue, but I think it is.
Basically I run:
`bazel run @rules_rust//tools/rust_analyzer:gen_rust_project -- "//..."`
And it mostly works fine, but for one of my projects, I dynamically generate a Cargo.toml since uniffi proc-macro requires it. However, it's erroring with:
```
• failed to open file bazel-out/darwin_arm64-fastbuild/bin/rust-code/example-shared-lib/example/Cargo.toml macro-error
```
And I realise that the folder it should be in is `.bazel/out/darwin_arm64-fastbuild/bin/rust-code/example-shared-lib/example/Cargo.toml` which does exist, this is due to the configuration in my .bazelrc: `build --symlink_prefix=.bazel/`
Contributor guide
Assessment
This issue has not been assessed yet.