Skip to content

Commit

Permalink
Static windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
woelper committed Nov 26, 2023
1 parent bd32ac3 commit e0742a1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# [build]
# rustflags = ["-C", "link-arg=-fuse-ld=lld"]

# [profile.dev]
# lto = "off"

[target.x86_64-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,4 @@ shortcuts.txt
perf.*
flamegraph.svg
.notes
TODO
# for dev profile optimisations
.cargo/config.toml
TODO

0 comments on commit e0742a1

Please sign in to comment.