From db89d83ce523ee00d1f10c15ad999d9d9d068356 Mon Sep 17 00:00:00 2001 From: Marcel Hlopko Date: Wed, 17 Jul 2024 14:43:38 +0200 Subject: [PATCH] Pass toolchain param in ctx.action.run in bindgen (#2745) --- bindgen/private/bindgen.bzl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bindgen/private/bindgen.bzl b/bindgen/private/bindgen.bzl index 06f0595db2..b4cacb533a 100644 --- a/bindgen/private/bindgen.bzl +++ b/bindgen/private/bindgen.bzl @@ -314,6 +314,9 @@ def _rust_bindgen_impl(ctx): env = env, arguments = [args], tools = tools, + # ctx.actions.run now require (through a buildifier check) that we + # specify this + toolchain = None, ) return [