Replies: 1 comment
-
|
You can find runfiles examples in https://github.com/bazelbuild/rules_rust/blob/main/examples/runfiles/pkg_b/src/lib.rs - for Bazel, you need to add a dependency on Unfortunately making both work out of the box is non-trivial. You probably want to root your runfiles in a child of your |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I’m working on Rust integration tests using Bazel with rules_rust. I want my tests to read some test data files at runtime, and ideally, they should also work when running via cargo test.
I’ve seen references to a runfiles crate, but the documentation is scarce and a bit confusing. Specifically:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions