Skip to content

Commit 8986487

Browse files
authored
fix: bump stack size on Windows (paradigmxyz#5301)
1 parent 52670a8 commit 8986487

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.cargo/config.toml

+14
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,16 @@
11
[alias]
22
docs = "doc --workspace --all-features --no-deps"
3+
4+
[target.x86_64-pc-windows-msvc]
5+
rustflags = [
6+
# Increases the stack size to 10MB, which is
7+
# in line with Linux (whereas default for Windows is 1MB)
8+
"-Clink-arg=/STACK:10000000",
9+
]
10+
11+
[target.i686-pc-windows-msvc]
12+
rustflags = [
13+
# Increases the stack size to 10MB, which is
14+
# in line with Linux (whereas default for Windows is 1MB)
15+
"-Clink-arg=/STACK:10000000",
16+
]

0 commit comments

Comments
 (0)