chore: update llcppg to generate go.mod with goplus/lib v0.3.1#612
Conversation
Updated all generated bindings in _cmptest/testdata/ to use the latest version of github.com/goplus/lib (v0.3.1 instead of v0.2.0). This updates 10 modules: - cjson/1.7.17 and 1.7.18 - libxml2/2.13.6 - libxslt/1.1.42 - zlib/1.3.1 - bzip2/1.0.8 - bzip3/1.5.1 - sqlite3/3.49.1 - cargs/1.2.0 - libtool/2.4.7 Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: luoliwoshang <51194195+luoliwoshang@users.noreply.github.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #612 +/- ##
=======================================
Coverage 84.74% 84.74%
=======================================
Files 27 27
Lines 2314 2314
=======================================
Hits 1961 1961
Misses 310 310
Partials 43 43 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@xgopilot you need update the logic of gen go.mod to use goplus/lib v0.3.1! llcppg's logic! |
SummaryI've updated the llcppg generator logic to use Changes MadeUpdated
ImpactFrom now on, whenever llcppg generates bindings, it will automatically use Testing
CommitPushed commit |
Update the default goplus/lib version from v0.2.0 to v0.3.1 in the ModInit function. This ensures all newly generated bindings will use the latest version of goplus/lib. Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: luoliwoshang <51194195+luoliwoshang@users.noreply.github.com>
|
@xgopilot this |
Issue CreatedI've created issue #613 to track the discussion about making the SummaryIssue #613: feat: make goplus/lib version configurable instead of hardcoded The issue describes:
ContextAs you mentioned, the current PR #612 focuses on updating the version from v0.2.0 to v0.3.1. The architectural discussion about making the version configurable can now continue in issue #613. Link: #613 |
Requested by @luoliwoshang
This PR updates all generated bindings in
_cmptest/testdata/to use the latest version ofgithub.com/goplus/lib(v0.3.1 instead of v0.2.0).Summary
go mod tidyUpdated Modules
Testing
go test -v ./config ./internal/name ./internal/arg ./internal/unmarshal✅go fmt ./...✅go vet ./...✅Fixes #611