bazelbuild / bazelbuild/rules_rust

rust_test: Add a way to put items into runfiles without making them available at compile time

Open
#3,097 1 comment 0 reactions 0 assignees View on GitHub
needs-design
Dominant language
Starlark
Stars
843
Forks
651
Avg merge
2d 18h
Merged PRs (30d)
15

Description

Currently, **rust_test** supports **data**, which is used at build time and also populates runfiles, and **compile_data**, which is used at build time but excluded from runfiles.

I want to be able to modify test input files without recompiling. These files are used exclusively at runtime, not build time, so changing them should not invalidate the test binary (but should invalidate the test results). I am currently using **data**, and this is causing unwanted compiles. What I want is the opposite of **compile_data**, e.g. **runtime_data**.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.