From ba178a8f100697d64a64f3b08859a1128a2c81da Mon Sep 17 00:00:00 2001 From: Branch Vincent Date: Fri, 27 Jun 2025 21:49:56 -0700 Subject: [PATCH] extend/ENV/super: set `MATURIN_NO_INSTALL_RUST` --- Library/Homebrew/extend/ENV/super.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Homebrew/extend/ENV/super.rb b/Library/Homebrew/extend/ENV/super.rb index 2e2be4f57e..b419561736 100644 --- a/Library/Homebrew/extend/ENV/super.rb +++ b/Library/Homebrew/extend/ENV/super.rb @@ -93,6 +93,8 @@ module Superenv # Prevent Go from automatically downloading a newer toolchain than the one that we have. # https://tip.golang.org/doc/toolchain self["GOTOOLCHAIN"] = "local" + # Prevent maturin from automatically downloading its own rust + self["MATURIN_NO_INSTALL_RUST"] = "1" # Prevent Python packages from using bundled libraries by default. # Currently for hidapi, pyzmq and pynacl self["HIDAPI_SYSTEM_HIDAPI"] = "1"