mirror of
https://github.com/nushell/nushell
synced 2024-12-26 13:03:07 +00:00
Statically link the CRT on Windows (#5717)
This commit is contained in:
parent
e4a22799d5
commit
17a5aa3052
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
# increase the default windows stack size
|
|
||||||
[target.x86_64-pc-windows-msvc]
|
[target.x86_64-pc-windows-msvc]
|
||||||
rustflags = ["-C", "link-args=-stack:10000000"]
|
# increase the default windows stack size
|
||||||
|
# statically link the CRT so users don't have to install it
|
||||||
|
rustflags = ["-C", "link-args=-stack:10000000", "-C", "target-feature=+crt-static"]
|
||||||
|
|
||||||
# keeping this but commentting out in case we need them in the future
|
# keeping this but commentting out in case we need them in the future
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue