Skip to content

Commit

Permalink
Add mingw64 to the windows environment
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexHayton committed Jul 30, 2024
1 parent 7642c0a commit 2b20ffe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/set-windows-msvc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ mkdir -p .cargo

# Create a config file with the target set to x86_64-pc-windows-msvc
echo '[build]' > .cargo/config
echo 'target = "x86_64-pc-windows-msvc"' >> .cargo/config
echo 'target = "x86_64-pc-windows-msvc"' >> .cargo/config

# Add MINGW to the PATH
echo "PATH=$PATH:C:\msys64\mingw64\bin" >> $GITHUB_ENV

0 comments on commit 2b20ffe

Please sign in to comment.