Skip to content

Commit

Permalink
Add cc_toolchain files to bindgen actions (#2375)
Browse files Browse the repository at this point in the history
Now that sysroots are correctly detected, bindgen is going to need
sources from them.
  • Loading branch information
UebelAndre authored Dec 28, 2023
1 parent 2650584 commit 01daded
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bindgen/private/bindgen.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,9 @@ def _rust_bindgen_impl(ctx):
_get_libs_for_static_executable(libclang),
] + ([
_get_libs_for_static_executable(libstdcxx),
] if libstdcxx else []),
] if libstdcxx else []) + [
cc_toolchain.all_files,
],
),
outputs = [output],
mnemonic = "RustBindgen",
Expand Down

0 comments on commit 01daded

Please sign in to comment.