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
{{ message }}
Repository navigation
Deprecated function Call.PC() breaks tinygo compatibility? #31
Activity
ChrisHines commentedon Nov 12, 2021
Indeed. Tinygo's
runtime.Frametype is not fully compatible with Go'sruntime.Frametype. It is missing several fields.The best solution here is to move
func (c Call) PC() uintptrinto a separate file that specifies a!tinygobuild tag.Would you like to submit a PR for that?
dkegel-fastly commentedon Nov 13, 2021
I must have been smoking something. Fixing that one problem uncovers another one now:
so maybe it's best to leave sleeping dogs lie for a bit, until the need for a fix is stronger.
ChrisHines commentedon Nov 14, 2021
Sure. Tinygo's
runtimepackage is quite a bit smaller than Go's, so any code that depends onruntimeis likely to have issues like this.