fix(runtime): go runtime when building in baremetal environment#1268
fix(runtime): go runtime when building in baremetal environment#1268xushiwei merged 13 commits intogoplus:mainfrom
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1268 +/- ##
=======================================
Coverage 90.22% 90.22%
=======================================
Files 42 42
Lines 11931 11931
=======================================
Hits 10765 10765
Misses 1032 1032
Partials 134 134 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
/review |
Code Review for PR #1268: Baremetal Runtime SupportTodo List:
🔍 Code Review SummaryThis PR introduces baremetal runtime support for LLGO by creating platform-specific implementations that handle the constraints of bare-metal environments (no OS, limited standard library support). 🏗️ Architecture AnalysisThe implementation uses Go's build tag system (
📋 Detailed Review✅ Strengths
|
| printFormatPrefixInt = c.Str("%ld") | ||
| printFormatPrefixUInt = c.Str("%lu") | ||
| printFormatPrefixHex = c.Str("%lx") | ||
| ) |
There was a problem hiding this comment.
NOTE: some libc may not support %lld
TODO: sigsetjmp(defer)