From 6a060b45331a4c827220a4ea272f1a11c0ce6a34 Mon Sep 17 00:00:00 2001 From: Chris Fredrickson Date: Tue, 8 Feb 2022 17:59:05 -0500 Subject: [PATCH] third_party_dir env var should be case-sensitive --- rust/private/rustc.bzl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/private/rustc.bzl b/rust/private/rustc.bzl index 136c6774d8..cfe299806c 100644 --- a/rust/private/rustc.bzl +++ b/rust/private/rustc.bzl @@ -670,7 +670,7 @@ def construct_arguments( env["SYSROOT"] = toolchain.sysroot env["RULES_RUST_RENAME_FIRST_PARTY_CRATES"] = str(toolchain._rename_first_party_crates).lower() - env["RULES_RUST_THIRD_PARTY_DIR"] = str(toolchain._third_party_dir).lower() + env["RULES_RUST_THIRD_PARTY_DIR"] = toolchain._third_party_dir # extra_rustc_flags apply to the target configuration, not the exec configuration. if hasattr(ctx.attr, "_extra_rustc_flags") and not is_exec_configuration(ctx):