![]() This fixes https://github.com/tinygo-org/tinygo/issues/1884. My original plan to fix this was much more complicated, but then I realized that the output type doesn't matter anyway and I can simply cast the type to an *i8 and perform a GEP on that pointer. |
||
---|---|---|
.. | ||
cgo | ||
alias.go | ||
alias.txt | ||
atomic.go | ||
atomic.txt | ||
binop.go | ||
binop.txt | ||
calls.go | ||
calls.txt | ||
channel.go | ||
channel.txt | ||
env.go | ||
env.txt | ||
filesystem.go | ||
filesystem.txt | ||
float.go | ||
float.txt | ||
gc.go | ||
gc.txt | ||
goroutines.go | ||
goroutines.txt | ||
init.go | ||
init.txt | ||
init_multi.go | ||
init_multi.txt | ||
interface.go | ||
interface.txt | ||
json.go | ||
json.txt | ||
ldflags.go | ||
ldflags.txt | ||
map.go | ||
map.txt | ||
math.go | ||
math.txt | ||
print.go | ||
print.txt | ||
reflect.go | ||
reflect.txt | ||
slice.go | ||
slice.txt | ||
sort.go | ||
sort.txt | ||
stdlib.go | ||
stdlib.txt | ||
string.go | ||
string.txt | ||
structs.go | ||
structs.txt | ||
zeroalloc.go | ||
zeroalloc.txt |