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
Interestingly, switching the runtime hash to tsip allows this code to pass. I wonder if it's because interp decides not to run the tsip code for some reason.
~/go/src/github.com/dgryski/bug/interp $ for hash in fnv leveldb tsip; do echo $hash; tinygo run -tags=runtime_memhash_${hash} main.go; done
fnv
global map[:0000000000000000000000000000000000000000000000000000000000000000]
local map[:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855]
failed to run compiled binary /var/folders/5b/_hr1d1fd3qn4t9vtfx5p61wm0000gp/T/tinygo3541483627/main: exit status 1
leveldb
global map[:0000000000000000000000000000000000000000000000000000000000000000]
local map[:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855]
failed to run compiled binary /var/folders/5b/_hr1d1fd3qn4t9vtfx5p61wm0000gp/T/tinygo1726170860/main: exit status 1
tsip
~/go/src/github.com/dgryski/bug/interp $
This breaks anything relying on https://github.com/btcsuite/btcd/blob/67b8efd3ba53b60ff0eba5d79babe2c3d82f6c54/chaincfg/chainhash/hash.go#L50.
The text was updated successfully, but these errors were encountered: