Skip to content

Commit

Permalink
build: increase stack size on Windows for avoiding stack overflows on…
Browse files Browse the repository at this point in the history
… non-oss target

Summary: D51538112 increased the stack size on Windows for the `eden/fs/edenfs-oss` target, which is only actually used for development. We should have done the same for the non-oss target, which this diff does.

Reviewed By: jdelliot

Differential Revision: D51929793

fbshipit-source-id: 3b749584718ac3211e9a2b2e9e3a564a249575d1
  • Loading branch information
sggutier authored and facebook-github-bot committed Dec 7, 2023
1 parent afe4e5f commit 92c1c20
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions eden/fs/service/TARGETS
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ cpp_binary(
srcs = [
"facebook/main.cpp",
],
linker_flags = select({
"DEFAULT": [],
"ovr_config//os:windows": [
"/STACK:2097152", # This was picked arbitrarily as 2 MB
],
}),
os_deps = [
(
"linux",
Expand Down

0 comments on commit 92c1c20

Please sign in to comment.