Files
tinygo/compiler
deadprogram 6d49f0177b compiler: support //go:linknamestd pragma
Go 1.27 introduced the //go:linknamestd directive, a standard-library
variant of //go:linkname that does not require importing "unsafe". The
iter package switched to it for referencing runtime.newcoro and
runtime.coroswitch, which caused "linker could not find symbol
iter.newcoro / iter.coroswitch" errors when building with Go 1.27.

Handle //go:linknamestd the same as //go:linkname, bypassing the unsafe
import requirement, and add test coverage in the pragma compiler test.

Signed-off-by: deadprogram <ron@hybridgroup.com>
2026-07-12 14:05:34 +02:00
..
2025-02-25 14:41:42 +01:00
2026-07-06 21:58:48 +02:00
2021-09-27 15:47:12 +02:00
2026-07-06 21:58:48 +02:00
2026-07-06 21:58:48 +02:00
2026-07-06 21:58:48 +02:00
2026-07-06 21:58:48 +02:00
2026-07-06 21:58:48 +02:00
2026-07-06 21:58:48 +02:00
2026-07-06 21:58:48 +02:00
2026-07-06 21:58:48 +02:00