Add crt-static to RUSTFLAGS for Windows

next
Sayan Nandan 3 years ago
parent 70ca5c143c
commit f151927f8a

@ -111,10 +111,12 @@ jobs:
- name: Archive artifacts
shell: cmd
run: |
cargo build --release
cargo build
rm -rf dist
mkdir dist
move target\debug\*.exe dist
move target\debug\*.exe dist
env:
RUSTFLAGS: -Ctarget-feature=+crt-static
if: env.IS_MD_FILE == 'false' && runner.os == 'Windows'
- name: Save artifacts

Loading…
Cancel
Save