Statically link windows

This commit is contained in:
lights0123 2020-09-26 22:23:33 -04:00
parent e1c67bbf2f
commit 66f47932a7
No known key found for this signature in database
GPG key ID: 28F315322E37972F
2 changed files with 6 additions and 2 deletions

4
.cargo/config.toml Normal file
View file

@ -0,0 +1,4 @@
[target.x86_64-pc-windows-msvc]
rustflags = ["-Ctarget-feature=+crt-static"]
[target.i686-pc-windows-msvc]
rustflags = ["-Ctarget-feature=+crt-static"]

View file

@ -65,5 +65,5 @@ jobs:
npmScript: "tauri:build"
- uses: actions/upload-artifact@v2
with:
name: my-artifact ${{ matrix.node-version }}
path: src-tauri/target/release/bundle
name: my-artifact-${{ runner.os }}
path: src-tauri/target/release