Skip to content

Commit

Permalink
add cargo config for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
supernovahs committed Jun 14, 2024
1 parent 105485d commit 38a5a09
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[alias]
docs = "doc --workspace --all-features --no-deps"

[target.x86_64-pc-windows-msvc]
rustflags = [
# Increases the stack size to 10MB, which is
# in line with Linux (whereas default for Windows is 1MB)
"-Clink-arg=/STACK:10000000",
]

[target.i686-pc-windows-msvc]
rustflags = [
# Increases the stack size to 10MB, which is
# in line with Linux (whereas default for Windows is 1MB)
"-Clink-arg=/STACK:10000000",
]

0 comments on commit 38a5a09

Please sign in to comment.