Skip to content

Commit

Permalink
increase windows stack size
Browse files Browse the repository at this point in the history
  • Loading branch information
magnetophon committed Apr 12, 2024
1 parent a7d2112 commit 565067e
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
cargo-features = ["profile-rustflags"]

[package]
name = "lamb"
version = "1.2.0"
Expand Down Expand Up @@ -39,6 +41,18 @@ strip = "symbols"
inherits = "release"
debug = true
strip = "none"
#
# 64 bit MSVC
[target.x86_64-pc-windows-msvc]
rustflags = [
"-C", "link-arg=/STACK:16000000"
]

# 64 bit Mingw
[target.x86_64-pc-windows-gnu]
rustflags = [
"-C", "link-arg=-Wl,--stack,16000000"
]

# Generated code - high perf needed anyway
[profile.dev]
Expand Down

0 comments on commit 565067e

Please sign in to comment.