bazelbuild / rules_rust

Rust rules for Bazel
https://bazelbuild.github.io/rules_rust/
Apache License 2.0
671 stars 434 forks source link

Add build_script_env_for_target_cfg #2968

Closed illicitonion closed 2 weeks ago

illicitonion commented 3 weeks ago

This allows setting env vars for a build script with selects based on the configuration of the target which depends on it, rather than exec configuration the build script naturally ends up configured in.