Skip to content

Commit

Permalink
fix: bump stack size on Windows (paradigmxyz#5301)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Nov 5, 2023
1 parent 52670a8 commit 8986487
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +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 8986487

Please sign in to comment.