Skip to content

Commit

Permalink
chore: add windows build options
Browse files Browse the repository at this point in the history
  • Loading branch information
syntaxbullet committed Jan 7, 2024
1 parent b01e50a commit c88ee9c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Build
- name: Build (linux)
run: cargo build --release
- name: Build (windows)
run: cargo build --release --target x86_64-pc-windows-gnu
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ edition = "2021"
[dependencies]
chrono = "0.4.31"
clap = { version = "4.4.13", features = ["derive"] }

[target.x86_64-pc-windows-gnu]
linker = "x86_64-w64-mingw32-gcc"

0 comments on commit c88ee9c

Please sign in to comment.