Skip to content

Commit 0f56d2a

Browse files
committed
Update bindgen
1 parent 05e4283 commit 0f56d2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extensions/bindgen/private/bindgen.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def _rust_bindgen_impl(ctx):
363363
for define in ctx.attr.cc_lib[CcInfo].compilation_context.defines.to_list():
364364
args.add("-D" + define)
365365

366-
_, _, linker_env = get_linker_and_args(ctx, "bin", cc_toolchain, feature_configuration, None)
366+
_, _, _, linker_env = get_linker_and_args(ctx, "bin", rust_toolchain, cc_toolchain, feature_configuration, None)
367367
env.update(**linker_env)
368368

369369
# Set the dynamic linker search path so that clang uses the libstdcxx from the toolchain.

0 commit comments

Comments
 (0)