diff options
author | Ayke van Laethem <[email protected]> | 2023-09-18 23:20:28 +0200 |
---|---|---|
committer | Ron Evans <[email protected]> | 2023-09-19 09:21:51 +0200 |
commit | 42da7654ecae2eb58fe3d4ad4f55012fdb5a4364 (patch) | |
tree | 6f2be619703444e2309e4741564489512c59d4c7 /interp | |
parent | 8698a7e496d6151d25745279b81ffcc5b9d8ece6 (diff) | |
download | tinygo-42da7654ecae2eb58fe3d4ad4f55012fdb5a4364.tar.gz tinygo-42da7654ecae2eb58fe3d4ad4f55012fdb5a4364.zip |
compiler: don't use types in the global context
This usually works by chance, but leads to crashes. So we should never
ever do this.
I'm pretty sure this is the crash behind this issue: https://github.com/tinygo-org/tinygo/issues/3894
It may also have caused this crash: https://github.com/tinygo-org/tinygo/issues/3874
I have a suspicion this is also behind the rather crash-prone CircleCI
jobs, that we haven't been able to find the source of. But we'll find
out soon enough once this fix is merged.
To avoid hitting this issue again in the future, I've created a PR to
remove these dangerous functions altogether from the go-llvm API:
https://github.com/tinygo-org/go-llvm/pull/54
Diffstat (limited to 'interp')
0 files changed, 0 insertions, 0 deletions