Skip to content

Commit

Permalink
Remove cfg exec from link_deps attribute (#2148)
Browse files Browse the repository at this point in the history
Build scripts of link dependencies need access to the 'target'
environment which contains the library being linked against. This is
needed to correctly cross-compile.
  • Loading branch information
kalcutter authored Sep 1, 2023
1 parent 4dbb81a commit a2929be
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cargo/private/cargo_build_script.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,6 @@ cargo_build_script = rule(
variables to this build script.
"""),
providers = [rust_common.dep_info],
cfg = "exec",
),
"links": attr.string(
doc = "The name of the native library this crate links against.",
Expand Down

0 comments on commit a2929be

Please sign in to comment.