From 2296ef973601366c3aed189f02cec8affaa7aec4 Mon Sep 17 00:00:00 2001 From: Fabian Brandstetter <21087362+FaBrand@users.noreply.github.com> Date: Fri, 20 Feb 2026 17:20:59 +0100 Subject: [PATCH] Provide rust toolchain type in rustdoc action This is noop in 7.x but used in newer versions --- rust/private/rustdoc.bzl | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/private/rustdoc.bzl b/rust/private/rustdoc.bzl index 0ffe808fd1..f302bab743 100644 --- a/rust/private/rustdoc.bzl +++ b/rust/private/rustdoc.bzl @@ -254,6 +254,7 @@ def _rust_doc_impl(ctx): env = action.env, arguments = action.arguments, tools = action.tools, + toolchain = Label("//rust:toolchain_type"), ) # This rule does nothing without a single-file output, though the directory should've sufficed.