Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
abentley-ssimwave opened this issue Dec 13, 2024 · 1 comment

Comments

@abentley-ssimwave
Copy link

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.

@dzbarsky
Copy link
Contributor

See #3005

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants