Compile diesel encountered status_stack_buffer_overrun on Windows

Hi all, I just migrate my project from Mac to Windows. However when I tried to compile the project in Windows, it complained:

But I have checked my system (i7 8700, 32G memory), it did have enough memory space.
May I know how I can solve it?

The rustc version: nightly-i686-msvc 2020-04-20

Allocations on the stack are limited by the stack size, which is only a few megabytes, not your total memory. You should be able to file a bug to the Rust github repo for this, since it seems like it attempted to store a 23 MB object on the stack.

For now you may be able to configure the stack size, but I'm not sure how.