File tree Expand file tree Collapse file tree 4 files changed +335
-22
lines changed
examples/crate_universe/cargo_local Expand file tree Collapse file tree 4 files changed +335
-22
lines changed Original file line number Diff line number Diff line change @@ -367,6 +367,11 @@ impl Renderer {
367367 . common_attrs
368368 . rustc_env_files
369369 . insert ( ":cargo_toml_env_vars" . to_owned ( ) , None ) ;
370+ if let Some ( ref mut build_script_attrs) = & mut krate. build_script_attrs {
371+ build_script_attrs
372+ . rustc_env_files
373+ . insert ( ":cargo_toml_env_vars" . to_owned ( ) , None ) ;
374+ }
370375 }
371376
372377 let mut starlark = Vec :: new ( ) ;
Original file line number Diff line number Diff line change @@ -23,5 +23,6 @@ build_test(
2323 targets = [
2424 # This target would fail to build if cargo_toml_env_vars didn't properly populate $CARGO_PKG_REPOSITORY.
2525 "@crate_index_cargo_local//:autometrics" ,
26+ "@crate_index_cargo_local//:aws-lc-rs" ,
2627 ],
2728)
You can’t perform that action at this time.
0 commit comments