Skip to content

Commit 732fa9f

Browse files
committed
Add cc_toolchain files to bindgen actions
1 parent c1d1847 commit 732fa9f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bindgen/private/bindgen.bzl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,9 @@ def _rust_bindgen_impl(ctx):
258258
_get_libs_for_static_executable(libclang),
259259
] + ([
260260
_get_libs_for_static_executable(libstdcxx),
261-
] if libstdcxx else []),
261+
] if libstdcxx else []) + [
262+
cc_toolchain.all_files,
263+
],
262264
),
263265
outputs = [output],
264266
mnemonic = "RustBindgen",

0 commit comments

Comments
 (0)