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
I tried running cargo asm $crate_name::inc, and got
brand::inc:ret
Notice how the first line of assembly is missing (the add instruction)
Moreover, when I add a spin_loop_hint
pubfninc(x:usize) -> usize{
std::sync::atomic::spin_loop_hint();
x + 1}
brand::inc:learax,[rcx,+,1]ret
Notice how the first line of assembly is missing (the pause instruction).
So, looks like it just isn't printing out the first line correctly, or the first line gets overwritten by the function name.
I'm running on windows (rust nightly-x86_64-pc-windows-msvc) with version 0.1.16
The text was updated successfully, but these errors were encountered:
I tried running
cargo asm $crate_name::inc
, and gotNotice how the first line of assembly is missing (the add instruction)
Moreover, when I add a
spin_loop_hint
Notice how the first line of assembly is missing (the
pause
instruction).So, looks like it just isn't printing out the first line correctly, or the first line gets overwritten by the function name.
I'm running on windows (rust
nightly-x86_64-pc-windows-msvc
) with version0.1.16
The text was updated successfully, but these errors were encountered: