Skip to content

Commit 762d7e4

Browse files
committed
rt: Trim the red zone to 20k on all platforms
1 parent 12cde6e commit 762d7e4

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
@@ -19,11 +19,11 @@
1919
// to the rt, compiler and dynamic linker for running small functions
2020
// FIXME: We want this to be 128 but need to slim the red zone calls down
2121
#ifdef __i386__
22-
#define RED_ZONE_SIZE 65536
22+
#define RED_ZONE_SIZE 1024*20
2323
#endif
2424

2525
#ifdef __x86_64__
26-
#define RED_ZONE_SIZE 65536
26+
#define RED_ZONE_SIZE 1024*20
2727
#endif
2828

2929
// Stack size

0 commit comments

Comments
 (0)