luoliwoshang
1d76f515e0
internal/build:support relocatable lib
2025-08-19 22:48:23 +08:00
xushiwei
cbac24cf97
Merge pull request #1188 from visualfc/cabi
...
cabi transform
2025-08-19 14:56:10 +08:00
xushiwei
ff40a80569
Merge pull request #1211 from luoliwoshang/emb/start
...
fix: set correct argc=0 in _start() function
2025-08-19 08:33:02 +08:00
xushiwei
c0a0e889e7
Merge pull request #1214 from luoliwoshang/emb/esp32/tag
...
internal/build:include target build-tags in Go package compilation
2025-08-19 08:30:56 +08:00
xushiwei
c5b4452a1b
Merge pull request #1217 from luoliwoshang/llgo/asm
...
cl(feat):llgo.asm implement tinygo.Asm
2025-08-19 08:14:22 +08:00
luoliwoshang
afee2beebe
cl/instr:rm llgoAsmBase
2025-08-17 18:41:38 +08:00
xushiwei
630b63744a
Merge pull request #1212 from goplus/dependabot/github_actions/actions/checkout-5
...
build(deps): bump actions/checkout from 4 to 5
2025-08-17 18:17:15 +08:00
xushiwei
1399c40243
Merge pull request #1215 from goplus/dependabot/go_modules/github.com/goplus/gogen-1.19.1
...
build(deps): bump github.com/goplus/gogen from 1.19.0 to 1.19.1
2025-08-17 18:04:41 +08:00
luoliwoshang
a148964878
feat:llgo.Asm
...
test:asm test with `nop`
2025-08-17 16:50:16 +08:00
visualfc
04bb3eb5a9
internal/cabi: check and skip param empty type
2025-08-15 21:29:43 +08:00
visualfc
28962a1c6c
internal/cabi: test composite
2025-08-15 15:34:55 +08:00
visualfc
2fca50b7e5
internal/cabi: test wasm
2025-08-15 10:31:16 +08:00
visualfc
3617c82e8b
internal/cabi: fix arch amd64
2025-08-14 11:22:01 +08:00
dependabot[bot]
bf0f81afd7
build(deps): bump github.com/goplus/gogen from 1.19.0 to 1.19.1
...
Bumps [github.com/goplus/gogen](https://github.com/goplus/gogen ) from 1.19.0 to 1.19.1.
- [Release notes](https://github.com/goplus/gogen/releases )
- [Commits](https://github.com/goplus/gogen/compare/v1.19.0...v1.19.1 )
---
updated-dependencies:
- dependency-name: github.com/goplus/gogen
dependency-version: 1.19.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-14 00:25:06 +00:00
visualfc
ef07188534
internal/cabi: fix arch arm
2025-08-13 16:54:49 +08:00
visualfc
5fe7ee9b6a
internal/cabi: TestBuild TestABI
2025-08-13 15:28:04 +08:00
luoliwoshang
a069e1d438
internal/build:include target build-tags in Go package compilation
2025-08-12 18:59:49 +08:00
dependabot[bot]
827f8b0e88
build(deps): bump actions/checkout from 4 to 5
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-12 08:37:24 +00:00
luoliwoshang
b9fdc2a25c
fix: set correct argc=0 in _start() function
2025-08-12 15:42:44 +08:00
visualfc
d2d999d369
internal/cabi: transform cfunc check called
2025-08-12 10:54:32 +08:00
visualfc
7b36cca86b
_demo/cabi: abi test demo
2025-08-12 09:46:03 +08:00
visualfc
843dd03553
cmd: llgo -abi flag (default 2)
2025-08-12 09:43:47 +08:00
visualfc
6460724feb
chore: llgen -abi flags (default 0)
2025-08-12 09:42:58 +08:00
visualfc
8e87bb6e86
internal/build: cabi transformer
2025-08-12 09:31:43 +08:00
visualfc
3ac2929789
internal/cabi: transform pkg to cabi
2025-08-12 09:30:16 +08:00
visualfc
2a88d5777a
ssa: export target and module
2025-08-12 09:29:43 +08:00
xushiwei
b2c6534c92
Merge pull request #1209 from goplus/dependabot/go_modules/github.com/goplus/llvm-0.8.5
...
build(deps): bump github.com/goplus/llvm from 0.8.3 to 0.8.5
2025-08-08 19:49:51 +08:00
xushiwei
303b620062
Merge pull request #1208 from goplus/dependabot/go_modules/golang.org/x/tools-0.36.0
...
build(deps): bump golang.org/x/tools from 0.35.0 to 0.36.0
2025-08-08 19:49:32 +08:00
xushiwei
6940a5846b
Merge pull request #1210 from visualfc/ssa_typeassert
...
ssa: fix TypeAssert check null
2025-08-08 19:48:27 +08:00
xushiwei
aa165829c6
Merge pull request #1199 from visualfc/pyptr
...
ssa: PyVal support pointer to long
2025-08-08 19:46:43 +08:00
visualfc
56f90dbcf9
ssa: fix TypeAssert check null
2025-08-08 12:11:17 +08:00
dependabot[bot]
1e09f54e56
build(deps): bump github.com/goplus/llvm from 0.8.3 to 0.8.5
...
Bumps [github.com/goplus/llvm](https://github.com/goplus/llvm ) from 0.8.3 to 0.8.5.
- [Release notes](https://github.com/goplus/llvm/releases )
- [Commits](https://github.com/goplus/llvm/compare/v0.8.3...v0.8.5 )
---
updated-dependencies:
- dependency-name: github.com/goplus/llvm
dependency-version: 0.8.5
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-08 00:51:16 +00:00
dependabot[bot]
39f0877ba0
build(deps): bump golang.org/x/tools from 0.35.0 to 0.36.0
...
Bumps [golang.org/x/tools](https://github.com/golang/tools ) from 0.35.0 to 0.36.0.
- [Release notes](https://github.com/golang/tools/releases )
- [Commits](https://github.com/golang/tools/compare/v0.35.0...v0.36.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/tools
dependency-version: 0.36.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-08 00:51:11 +00:00
visualfc
54dfd3c701
ssa: PyVal support pointer to long
2025-08-07 20:39:35 +08:00
xushiwei
f43e2c0dee
Merge pull request #1204 from visualfc/checklink
...
internal/build: set CheckLinkArgs disable on default
2025-08-07 17:17:22 +08:00
xushiwei
b03b8146df
Merge pull request #1202 from visualfc/build
...
internal/build: delete duplicate linkObjFiles
2025-08-07 17:15:29 +08:00
xushiwei
1f94cfbe57
Merge pull request #1173 from luoliwoshang/os/direntNamePtr
...
os:direntNamePtr for array
2025-08-07 16:59:56 +08:00
xushiwei
6648e43bba
Merge pull request #1205 from goplus/dependabot/github_actions/actions/download-artifact-5
...
build(deps): bump actions/download-artifact from 4 to 5
2025-08-07 16:55:46 +08:00
visualfc
dab8379392
internal/build: set CheckLinkArgs disable on default
2025-08-06 15:01:05 +08:00
dependabot[bot]
2fde31d782
build(deps): bump actions/download-artifact from 4 to 5
...
Bumps [actions/download-artifact](https://github.com/actions/download-artifact ) from 4 to 5.
- [Release notes](https://github.com/actions/download-artifact/releases )
- [Commits](https://github.com/actions/download-artifact/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/download-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-08-06 00:16:30 +00:00
visualfc
69c1787e22
internal/build: delete duplicate linkObjFiles
2025-08-04 10:39:43 +08:00
xushiwei
aa49fe665f
Merge pull request #1193 from cpunion/targets-refactor-1176
...
Build targets task 1: Basic Target Parameter Support for llgo build/run/test commands
2025-08-02 06:09:52 +08:00
Li Jie
b773de0815
ci: add build -target tests
2025-07-30 20:25:05 +08:00
Li Jie
49a5d3a350
dummy _start function for libc-free cases
2025-07-30 20:16:30 +08:00
Li Jie
6f829d0d43
add empty demo for build -target tests
2025-07-30 20:16:29 +08:00
Li Jie
daf0d7e56e
feat(cmd): enable -target parameter for build, run, and test commands
...
- Update build command: llgo build -target platform
- Update run command: llgo run -target platform
- Update test command: llgo test -target platform
- Wire target flag to build configuration
- Update usage documentation for new parameter
Examples:
- llgo build -target rp2040 ./firmware
- llgo run -target wasi ./main.go
- llgo test -target cortex-m ./tests
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-30 20:16:29 +08:00
Li Jie
0136344282
feat(cmd): add -target flag support for build commands
...
- Add Target flag variable to support -target parameter
- Update AddBuildFlags to include target platform option
- Enable syntax: -target platform (e.g., rp2040, wasi)
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-30 20:16:29 +08:00
Li Jie
f571dde538
feat(build): integrate target configuration system into build pipeline
...
- Add Target field to build.Config struct
- Update build system to use crosscompile.UseWithTarget()
- Enable target-based cross-compilation in build pipeline
- Maintain backward compatibility with existing GOOS/GOARCH workflow
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-30 20:16:29 +08:00
Li Jie
5424b53b62
feat(crosscompile): extend Export struct and add target-based configuration
...
- Add LLVMTarget, CPU, Features, BuildTags fields to Export struct
- Implement UseTarget() function for target name-based configuration loading
- Add UseWithTarget() function combining target and goos/goarch fallback
- Include comprehensive unit tests for target integration
- Support 206+ embedded platform configurations with inheritance
🤖 Generated with [Claude Code](https://claude.ai/code )
Co-Authored-By: Claude <noreply@anthropic.com >
2025-07-30 20:16:25 +08:00
xushiwei
86519b471e
Merge pull request #1198 from visualfc/pybytes
...
ssa: PyVal support py bytes
2025-07-30 15:18:22 +08:00