You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rustc 1.27.0-nightly generate unwanted code for naked functions, this affect the logic of swap_registers by using inline assembly.
// why save the rcx and rdx in stack? this will overwite something!// the naked function should only use the asm block, debug version breaks// since rustc 1.27.0-nightly, we have to use O2 level optimization::"{rcx}"(out_regs),"{rdx}"(in_regs):"memory":"volatile");
The text was updated successfully, but these errors were encountered:
rustc 1.27.0-nightly generate unwanted code for naked functions, this affect the logic of
swap_registers
by using inline assembly.The text was updated successfully, but these errors were encountered: