Skip to content

Commit

Permalink
pass rustflags to windows too
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Jan 30, 2025
1 parent 92c1834 commit 8062e8e
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,22 @@ rustdocflags = []

[target.x86_64-pc-windows-msvc]
linker = "rust-lld"
rustflags = ["-C", "target-feature=+crt-static"]
rustflags = [
"--cfg",
"tokio_unstable",
"-Zshare-generics=y",
"-C",
"target-feature=+crt-static"
]

[target.i686-pc-windows-msvc]
rustflags = ["-C", "target-feature=+crt-static"]
rustflags = [
"--cfg",
"tokio_unstable",
"-Zshare-generics=y",
"-C",
"target-feature=+crt-static"
]

[target.aarch64-pc-windows-msvc]
linker = "rust-lld"
Expand Down

0 comments on commit 8062e8e

Please sign in to comment.