Skip to content

Commit

Permalink
Update justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ShabbirHasan1 authored May 18, 2022
1 parent a3da343 commit 5599b82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ build-win:
if (Test-Path -Path ".\out\user_agent-windows-msvc.zip") { Remove-Item -Path ".\out\user_agent-windows-msvc.zip" }
if (-Not (Test-Path -Path ".\out")) { New-Item -Name "out" -ItemType Directory }
set RUSTFLAGS="-Ctarget-feature=+crt-static"
cargo build --target=x86_64-pc-windows-msvc --release -- -C target-feature=+crt-static
cargo build --target=x86_64-pc-windows-msvc --release
Compress-Archive -Path "target\x86_64-pc-windows-msvc\release\user_agent.exe" -DestinationPath "out\user_agent-windows-msvc.zip"

# Build for GNU Linux and GNU Windows (e.g. cygwin)
Expand Down

0 comments on commit 5599b82

Please sign in to comment.