Skip to content

Commit 7e06192

Browse files
mhilskrasimirgg
andauthored
rust_bindgen_library: forward more attributes (#4246)
This PR makes `rust_bindgen_library` work with `compatible_with` and `restricted_to` kwargs. Co-authored-by: Krasimir Georgiev <krasimir@google.com>
1 parent 1e9b228 commit 7e06192

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

extensions/bindgen/private/bindgen.bzl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,8 @@ def rust_bindgen_library(
7777
for shared in (
7878
"target_compatible_with",
7979
"exec_compatible_with",
80+
"compatible_with",
81+
"restricted_to",
8082
):
8183
if shared in kwargs:
8284
bindgen_kwargs.update({shared: kwargs[shared]})

0 commit comments

Comments
 (0)