Skip to content

Commit 7a64986

Browse files
committed
rt: Cut the red zone to 2K on linux
1 parent cd38133 commit 7a64986

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rt/rust_task.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
// The amount of extra space at the end of each stack segment, available
1717
// to the rt, compiler and dynamic linker for running small functions
1818
// FIXME: We want this to be 128 but need to slim the red zone calls down
19-
#define RZ_LINUX_32 (1024*4)
20-
#define RZ_LINUX_64 (1024*4)
19+
#define RZ_LINUX_32 (1024*2)
20+
#define RZ_LINUX_64 (1024*2)
2121
#define RZ_MAC_32 (1024*20)
2222
#define RZ_MAC_64 (1024*20)
2323
#define RZ_WIN_32 (1024*20)

0 commit comments

Comments
 (0)