Skip to content

Commit 02e756e

Browse files
committed
stripped unused uneeded keys
1 parent 45f1f48 commit 02e756e

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

install.ps1

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,6 @@ offline = false
148148
[http]
149149
timeout = 600
150150
low-speed-limit = 1024
151-
low-speed-time = 30
152151
multiplexing = false
153152
154153
[build]

installer.ps1

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,13 @@ function Configure-RustEnvironment {
126126

127127
# 2. Create comprehensive Cargo configuration
128128
$configFile = "$cargoHome\config.toml"
129+
130+
# Remove any existing config file first to ensure clean state
131+
if (Test-Path $configFile) {
132+
Write-Host " Removing existing Cargo config to ensure clean state..." -ForegroundColor Gray
133+
Remove-Item $configFile -Force -ErrorAction SilentlyContinue
134+
}
135+
129136
$configContent = @"
130137
# Optimized Cargo configuration for Windows builds
131138
[net]
@@ -135,7 +142,6 @@ offline = false # Allow network access
135142
[http]
136143
timeout = 600 # 10 minute timeout for large downloads
137144
low-speed-limit = 1024 # Minimum 1KB/s (fail if slower)
138-
low-speed-time = 30 # Allow slow speeds for up to 30 seconds
139145
multiplexing = false # Disable HTTP/2 multiplexing (avoids some Windows issues)
140146
141147
[build]
File renamed without changes.

0 commit comments

Comments
 (0)