We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ce33ce commit 9675343Copy full SHA for 9675343
src/rt/arch/i386/morestack.S
@@ -94,7 +94,8 @@ MORESTACK:
94
movl NEW_STACK_ADDR,%eax
95
movl %eax,(%esp)
96
movl %edx,4(%esp)
97
- calll UPCALL_CALL_C_STACK
+ // FIXME: Don't understand why just _here_ I have to say @PLT
98
+ calll UPCALL_CALL_C_STACK@PLT
99
100
movl 12(%esp),%edx // Grab the return pointer.
101
addl $RETURN_OFFSET,%edx // Skip past the `add esp,4` and the `ret`.
src/rt/rust_internal.h
@@ -96,7 +96,7 @@ static size_t const BUF_BYTES = 2048;
// FIXME: We want this to be 128 but need to slim the red zone calls down
#ifdef __i386__
-#define RED_ZONE_SIZE 256
+#define RED_ZONE_SIZE 2048
#endif
102
#ifdef __x86_64__
0 commit comments