From 20ce44e3078aeb5e37bc0bcd32e09971283d4646 Mon Sep 17 00:00:00 2001 From: Wyatt Calandro <64923869+wcalandro@users.noreply.github.com> Date: Wed, 15 Feb 2023 20:45:51 -0800 Subject: [PATCH] fix: use target_triple struct instead of string (#1835) --- rust/repositories.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/repositories.bzl b/rust/repositories.bzl index 3c290860dd..eb5c190948 100644 --- a/rust/repositories.bzl +++ b/rust/repositories.bzl @@ -325,7 +325,7 @@ def _rust_toolchain_tools_repository_impl(ctx): # Not all target triples are expected to have dev components if ctx.attr.dev_components: - load_rustc_dev_nightly(ctx, ctx.attr.target_triple) + load_rustc_dev_nightly(ctx, target_triple) ctx.file("WORKSPACE.bazel", "") ctx.file("BUILD.bazel", "\n".join(build_components))