Xudong Huang
Xudong Huang
Actually the start of the stack memory is the saved context.
The memory looks like this: fixed size context memory(including saved registers) + real generator function stack. Yes, you should use `into_raw`, the pointer of the memory contains every thing needed...
I don't have a M1 Mac env now. It's likely the debug version stack alignment issue. E.g. https://github.com/Xudong-Huang/generator-rs/blob/ea54d2f38bc1fbdbf6d9d45fee303f3185980e39/src/detail/asm/asm_x86_64_sysv_elf_gas.S#L14-L18
@Tassle could please test the master in your env again?
thanks for this change