From 7d1c9426e93b180aec7c1c33d0d65a200ab6738d Mon Sep 17 00:00:00 2001
From: pierwill <pierwill@users.noreply.github.com>
Date: Thu, 13 Jan 2022 09:44:14 -0600
Subject: [PATCH] Add new name for rustc version environment variable

---
 collector/src/rustc-fake.rs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/collector/src/rustc-fake.rs b/collector/src/rustc-fake.rs
index c789ca606..0bbb3312f 100644
--- a/collector/src/rustc-fake.rs
+++ b/collector/src/rustc-fake.rs
@@ -15,6 +15,7 @@ fn determinism_env(cmd: &mut Command) {
     // comparing two commits has a source of noise that makes it harder to know
     // what the actual change between two artifacts is.
     cmd.env("RUSTC_FORCE_INCR_COMP_ARTIFACT_HEADER", "rustc-perf");
+    cmd.env("RUSTC_FORCE_RUSTC_VERSION", "rustc-perf");
 }
 
 fn main() {