v0.12.2
What's Changed
build:
- build: add command tracing and entry module name by @cpunion in #1584
- feat: enable icf to reduce binary size by @zhouguangyuan0718 in #1593
compiler:
- refactor: remove init$patchDeps mechanism (no longer needed after PR #1450) by @luoliwoshang in #1596
- cl/_testrt/cast: enable run result test by @xgopilot[bot] in #1562
- Implement register-based closure ctx by @cpunion in #1599
- Revert "Implement register-based closure ctx" by @xushiwei in #1614
- cgo: support C2func* wrappers with errno-based (ret, error) by @cpunion in #1630
- stdlib-opt: trim runtime/internal/lib patches by @cpunion in #1621
- cl: implement go:embed and add std embed tests by @cpunion in #1641
llgo/ssa:
- ssa: fix abi type error by @visualfc in #1595
- cabi: remove unsafe load-to-memcpy optimization by @luoliwoshang in #1607
- fix: generate valid function pointers for embedded type's unexported methods by @luoliwoshang in #1598
- build: use LLVM memcpyopt pass to replace cabi load/store optimization by @luoliwoshang in #1612
- ssa: fix reflect.pointerTo needAbiInit by @visualfc in #1627
- ssa: fix loop defer draining by @cpunion in #1642
- ssa: fix prog.Type error for instantiated generic types by @xgopilot[bot] in #1638
runtime:
- runtime: fix reflect.Value.Method by @visualfc in #1528
- refactor: remove clite.init() for non baremetal targets by @MeteorsLiu in #1300
- runtime: reflect.Copy by @luoliwoshang in #1639
emb:
- feat(esp32c3): QEMU emulator support by @luoliwoshang in #1536
- fix(esp32c3): use semihosting _exit for QEMU emulator support by @luoliwoshang in #1539
chore:
- chore: rename ifaceprom-1599 to ifaceprom-1559 by @xgopilot[bot] in #1579
- docs: update copyright to The XGo Authors (xgo.dev) by @xgopilot[bot] in #1603
- chore: update xgopilot model to claude-4.6-opus by @xgopilot[bot] in #1633
ci & tools:
deps:
- chore(deps): bump github.com/goplus/mod from 0.19.0 to 0.19.2 by @dependabot[bot] in #1647
- chore(deps): bump github.com/goplus/gogen 1.21.2 by @dependabot[bot] in #1646
New Contributors
- @zhouguangyuan0718 made their first contribution in #1593
Full Changelog: v0.12.1...v0.12.2