From 60754ce08820be8cb6bbea1b326e2cde8b90cfa1 Mon Sep 17 00:00:00 2001
From: Rhys Arkins <rhys@arkins.net>
Date: Thu, 2 Jan 2025 17:20:40 +0000
Subject: [PATCH] feat(presets): add RUSTC_BOOTSTRAP to safe global env
 (#33347)

---
 lib/config/presets/internal/global.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/config/presets/internal/global.ts b/lib/config/presets/internal/global.ts
index aaf331d81e..ce8240fcf1 100644
--- a/lib/config/presets/internal/global.ts
+++ b/lib/config/presets/internal/global.ts
@@ -4,7 +4,7 @@ import type { Preset } from '../types';
 
 export const presets: Record<string, Preset> = {
   safeEnv: {
-    allowedEnv: ['GO*'],
+    allowedEnv: ['GO*', 'RUSTC_BOOTSTRAP'],
     description:
       'Hopefully safe environment variables to allow users to configure.',
   },
-- 
GitLab