Li Jie
0c11c93b3a
docs: add LICENSE file for targets directory
...
Add license attribution for target configuration files derived from TinyGo project:
- Document source from https://github.com/tinygo-org/tinygo/tree/release/targets
- Include complete BSD 3-Clause license from TinyGo project
- Clarify licensing terms for target configuration files
- Ensure proper attribution to TinyGo Authors and Go Authors
- Maintain compliance with original license requirements
This ensures proper license compliance when using TinyGo's target configurations
in the llgo project.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-29 15:13:02 +08:00
Li Jie
b80a54eb0f
feat: implement target configuration system for issue #1176
...
Add comprehensive target configuration parsing and inheritance system:
- Create internal/targets package with config structures
- Support JSON configuration loading with inheritance resolution
- Implement multi-level inheritance (e.g., rp2040 → cortex-m0plus → cortex-m)
- Add 206 target configurations from TinyGo for embedded platforms
- Support core fields: name, llvm-target, cpu, features, build-tags, goos, goarch, cflags, ldflags
- Provide high-level resolver interface for target lookup
- Include comprehensive unit tests with 100% target parsing coverage
This foundation enables future -target parameter support for cross-compilation
to diverse embedded platforms beyond current GOOS/GOARCH limitations.
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-29 15:12:58 +08:00
xushiwei
5eb833a984
Update README.md
2025-07-15 12:30:41 +08:00
xushiwei
66fd3a552d
Merge pull request #1186 from goplus/dependabot/go_modules/golang.org/x/tools-0.35.0
...
build(deps): bump golang.org/x/tools from 0.34.0 to 0.35.0
2025-07-14 23:19:16 +08:00
dependabot[bot]
7f4b0d6215
build(deps): bump golang.org/x/tools from 0.34.0 to 0.35.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.34.0 to 0.35.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.34.0...v0.35.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-version: 0.35.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-14 01:07:12 +00:00
xushiwei
5e6dd7644b
Update README.md
2025-07-08 16:09:22 +08:00
xushiwei
a430e325ed
Merge pull request #1184 from visualfc/syscall-js
...
runtime: support syscall/js
2025-07-07 11:02:15 +08:00
visualfc
e77c3a040d
runtime: support syscall/js
2025-07-07 10:31:22 +08:00
xushiwei
734b3a075e
Merge pull request #1183 from visualfc/patch
...
cl: patchType check func signature
2025-07-07 08:10:22 +08:00
xushiwei
6b5f299ccd
Merge pull request #1182 from visualfc/emjs
...
runtime/js: impl CopyBytesToGo/CopyBytesToJS
2025-07-07 08:09:20 +08:00
visualfc
281b3ecf64
runtime/js: itoa
2025-07-04 10:00:46 +08:00
visualfc
d7f2f4efdd
cl: patchType check func signature
2025-07-03 20:48:51 +08:00
visualfc
08077f03f1
runtime/js: impl CopyBytesToGo,CopyBytesToJS
2025-07-02 20:00:08 +08:00
visualfc
3d41514abd
runtime/js: fix call args value incref
2025-07-02 14:36:08 +08:00
xushiwei
f2c16beab6
Merge pull request #1174 from luoliwoshang/build/rpathmode
...
refactor(internal/build):remove rpath change
2025-07-01 13:25:12 +08:00
xushiwei
8983b146f2
Merge pull request #1180 from visualfc/emcc_js
...
[WIP] runtime/js: js for emscripten
2025-07-01 13:24:04 +08:00
xushiwei
8b0c6eae02
Merge pull request #1181 from visualfc/trace
...
debug: fix print stack for wasm
2025-07-01 13:22:42 +08:00
visualfc
013f2ef00d
debug: fix print stack for wasm
2025-07-01 11:31:15 +08:00
visualfc
e972be8dab
runtime/js: js for emscripten
2025-06-30 20:55:32 +08:00
luoliwoshang
e60c3bd943
refactor(internal/build):remove rpath change
2025-06-26 13:55:58 +08:00
xushiwei
f0728c4fe0
Merge pull request #1164 from visualfc/codegen
...
build: gen pkg.ll to object
2025-06-25 23:14:45 +08:00
visualfc
249f85a25e
build: gen pkg to object
2025-06-25 21:01:18 +08:00
xushiwei
9c59ac297d
Merge pull request #1171 from luoliwoshang/internal/build/test
...
fix(build):test all pkg with llgo test ./...
2025-06-25 18:17:41 +08:00
luoliwoshang
6e8f3d1d19
test(build):collect llgo test ./... output to test
2025-06-25 15:38:20 +08:00
luoliwoshang
3df783de13
test(build):case with llgo test ./...
2025-06-24 16:34:33 +08:00
luoliwoshang
b469fc990f
fix(build):test all pkg with llgo test ./...
2025-06-24 14:07:20 +08:00
xushiwei
6df688e62e
Merge pull request #1168 from xushiwei/q
...
#1165 cpkgimp: import c package
2025-06-23 23:07:12 +08:00
xushiwei
4f6f1c4453
#1165 cpkgimp: import c package
2025-06-23 22:58:26 +08:00
xushiwei
891e47ef60
Merge pull request #1167 from xushiwei/q
...
Write a C package in Go
2025-06-23 22:51:41 +08:00
xushiwei
84f0c0fd9f
codecov: skip cl/cltest
2025-06-23 22:43:30 +08:00
xushiwei
25d64f2812
Merge pull request #1166 from xushiwei/q
...
rm llgo.old
2025-06-23 22:04:00 +08:00
xushiwei
915cdf2c23
#1165
2025-06-23 22:01:42 +08:00
xushiwei
b7b6e3bc93
testFrom: use test.Diff
2025-06-23 21:14:26 +08:00
xushiwei
3d53b12dea
rm llgo.old
2025-06-23 15:45:07 +08:00
xushiwei
132e240e87
Delete doc/How-to-support-a-Rust-Library.md
2025-06-22 15:47:05 +08:00
xushiwei
0b233ea155
Merge pull request #1149 from luoliwoshang/readme/dep
...
ci/doc:install libunwind-19 & libc++-19
2025-06-22 15:29:36 +08:00
xushiwei
e9c96390e6
Merge pull request #1151 from luoliwoshang/internal/build/testdir
...
internal/build:switch workdir from testpkg like go behavior
2025-06-22 15:26:07 +08:00
xushiwei
50bd078620
Merge pull request #1130 from visualfc/globals
...
link globals importpath.name=value
2025-06-22 07:20:53 +08:00
luoliwoshang
65f1c2589c
chore:consist install llvm component lib order
2025-06-20 18:07:30 +08:00
luoliwoshang
695329b9dd
ci/doc:install libunwind-19 & libc++-19
2025-06-20 18:07:30 +08:00
visualfc
4726e824a0
build: link globals importpath.name=value
2025-06-17 11:11:06 +08:00
xushiwei
e68355d94f
Merge pull request #1148 from visualfc/makefunc
...
reflect: makeFunc
2025-06-16 17:02:19 +08:00
xushiwei
f5c08a2681
Merge pull request #1152 from luoliwoshang/badge/xgo
...
chore(xgo):gop_autogen => xgo_autogen
2025-06-16 17:00:35 +08:00
xushiwei
b14520954c
Merge pull request #1153 from luoliwoshang/readme/xgo
...
readme(xgo):xgo project
2025-06-16 17:00:10 +08:00
xushiwei
04ac5de29d
Merge pull request #1154 from luoliwoshang/release/xgo
...
goreleaser:gop => xgo
2025-06-16 16:59:50 +08:00
visualfc
2118849d27
cl/_testgo/reflectmkfn
2025-06-13 09:13:48 +08:00
luoliwoshang
5e928b5ae1
goreleaser:gop => xgo
2025-06-12 19:05:50 +08:00
luoliwoshang
3576ed36e2
ci:fmt check ignore xgo_autogen.go
2025-06-12 18:55:18 +08:00
luoliwoshang
fc88c89f7c
readme(xgo):xgo project
2025-06-12 18:53:08 +08:00
luoliwoshang
f48b37a218
chore(xgo):gop_autogen => xgo_autogen
2025-06-12 18:49:17 +08:00