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 {
367
367
. common_attrs
368
368
. rustc_env_files
369
369
. 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
+ }
370
375
}
371
376
372
377
let mut starlark = Vec :: new ( ) ;
Original file line number Diff line number Diff line change @@ -23,5 +23,6 @@ build_test(
23
23
targets = [
24
24
# This target would fail to build if cargo_toml_env_vars didn't properly populate $CARGO_PKG_REPOSITORY.
25
25
"@crate_index_cargo_local//:autometrics" ,
26
+ "@crate_index_cargo_local//:aws-lc-rs" ,
26
27
],
27
28
)
You can’t perform that action at this time.
0 commit comments