From 7b53bff3e6f1640bbd58fc96bde95507a0de2756 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 1 Jan 2024 20:03:07 -0800 Subject: [PATCH] Make env-dep:RUSTC_BOOTSTRAP get listed in probe's dep-info --- build/probe.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/build/probe.rs b/build/probe.rs index dc00214..0dce6f5 100644 --- a/build/probe.rs +++ b/build/probe.rs @@ -27,3 +27,6 @@ impl Error for MyError { request.provide_ref(&self.0); } } + +// Include in sccache cache key. +const _: Option<&str> = option_env!("RUSTC_BOOTSTRAP");