@Alex Crichton Can you help me understand what's going on in this code: https://github.com/bytecodealliance/wasmtime/pull/957/files?diff=unified&w=1#diff-af6ebc80017af9e760df6358eeae6b00R606
It looks like *ptr
is meant to be the u128
value in memory. But then in the next line, *ptr
is the pointer to the u128
?
oh that's a helper for reading a value from *mut u128
and automatically incrementing the *mut u128
if something was read
it's more like a *mut *mut u128
oh
no that's just straight up buggy
ah, ok
yeah no all of those are buggy
wow I am bad at testing apparentluy
Last updated: Dec 23 2024 at 13:07 UTC