<commit_before>if ($env:PLATFORM -eq "x86") {
    $arch = "i686"
}
else {
    $arch = "x86_64"
}

$rust_version = $env:RUST_VERSION
$rust_install = "rust-$rust_version-$arch-pc-windows-gnu.msi"
Start-FileDownload "https://static.rust-lang.org/dist/$rust_install" -FileName $rust_install
Start-Process -FilePath msiexec -ArgumentList /i, $rust_install, /quiet, INSTALLDIR="C:\Rust" -Wait
$env:Path = $env:Path + ";C:\Rust\bin"
rustc -vV

set PATH=C:\msys64\mingw%BITS%\bin;C:\msys64\usr\bin;%PATH%
if defined MINGW_URL appveyor DownloadFile %MINGW_URL%/%MINGW_ARCHIVE%
if defined MINGW_URL 7z x -y %MINGW_ARCHIVE% > nul
if defined MINGW_URL set PATH=%CD%\%MINGW_DIR%\bin;C:\msys64\usr\bin;%PATH%<commit_msg>removed excess<commit_after>if ($env:PLATFORM -eq "x86") {
    $arch = "i686"
}
else {
    $arch = "x86_64"
}

$rust_version = $env:RUST_VERSION
$rust_install = "rust-$rust_version-$arch-pc-windows-gnu.msi"
Start-FileDownload "https://static.rust-lang.org/dist/$rust_install" -FileName $rust_install
Start-Process -FilePath msiexec -ArgumentList /i, $rust_install, /quiet, INSTALLDIR="C:\Rust" -Wait
$env:Path = $env:Path + ";C:\Rust\bin"
rustc -vV
{'fraction_non_alphanumeric': 0.17244367417677642, 'fraction_numerical': 0.021663778162911613, 'mean_word_length': 5.1436170212765955, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6052034', 'n_tokens_mistral': 492, 'n_tokens_neox': 472, 'n_words': 83}