Skip to content

Support build script environment files in crate annotations - #207

Merged
dzbarsky merged 1 commit into
hermeticbuild:mainfrom
finn-ball:finn/build-script-env-files
Aug 5, 2026
Merged

Support build script environment files in crate annotations#207
dzbarsky merged 1 commit into
hermeticbuild:mainfrom
finn-ball:finn/build-script-env-files

Conversation

@finn-ball

@finn-ball finn-ball commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add a build_script_env_files annotation attribute for files containing additional environment variables.
  • Thread the attribute through annotation expansion and generated rust_crate calls.
  • Preserve the default cargo_toml_env_vars.env file while appending user-provided files.

@finn-ball
finn-ball force-pushed the finn/build-script-env-files branch from 7078bbd to 3348498 Compare August 3, 2026 14:35
@finn-ball
finn-ball requested a review from dzbarsky August 3, 2026 14:36
@dzbarsky
dzbarsky merged commit 97b16a5 into hermeticbuild:main Aug 5, 2026
19 of 20 checks passed
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

Successfully merging this pull request may close these issues.

2 participants