Skip to content

Commit

Permalink
ci: fix build flags
Browse files Browse the repository at this point in the history
  • Loading branch information
7sDream committed Nov 16, 2023
1 parent 74f9b71 commit 5be6173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
cargo clean
cargo build --target ${{ matrix.rust-target }} --release --all-targets --all-features -vv
env:
RUSTFLAGS: ${{ fromJSON('["", "-C target-features=+crt-static"]')[matrix.platform == 'win32'] }}
RUSTFLAGS: ${{ fromJSON('["", "-C target-feature=+crt-static"]')[matrix.libc == 'msvc'] }}
- name: Move and rename binary
shell: bash
run: |
Expand Down

0 comments on commit 5be6173

Please sign in to comment.