In 0.14.0, the function overhead appeared. For example, a function that returns its argument produces:
push rbp ; why do we need that?!
mov rbp, rsp ; ?!?
mov eax, edi
pop rbp ; ?!?
ret
The correct assembly was in 0.13.0:
https://godbolt.org/z/9z1d5hsoK
In 0.14.0, the function overhead appeared. For example, a function that returns its argument produces:
The correct assembly was in 0.13.0:
https://godbolt.org/z/9z1d5hsoK