Skip to content

Cross compiling#1057

Merged
xushiwei merged 8 commits intogoplus:mainfrom
cpunion:cross-compiling
Apr 9, 2025
Merged

Cross compiling#1057
xushiwei merged 8 commits intogoplus:mainfrom
cpunion:cross-compiling

Conversation

@cpunion
Copy link
Collaborator

@cpunion cpunion commented Apr 8, 2025

  • Cross compilation: Build with GOOS=wasip1 GOARCH=wasm llgo run/build
    • Hello world: ./llgo_wasm run ./_demo/helloc
    • wasi-libc

@codecov
Copy link

codecov bot commented Apr 8, 2025

Codecov Report

Attention: Patch coverage is 44.35798% with 143 lines in your changes missing coverage. Please review.

Project coverage is 81.01%. Comparing base (b11eb74) to head (3a883b8).
Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
internal/crosscompile/fetch.go 40.22% 35 Missing and 17 partials ⚠️
xtool/clang/clang.go 0.00% 49 Missing ⚠️
ssa/target.go 36.00% 15 Missing and 1 partial ⚠️
internal/xtool/llvm/llvm.go 72.72% 10 Missing and 2 partials ⚠️
internal/crosscompile/cosscompile.go 82.35% 4 Missing and 2 partials ⚠️
internal/env/env.go 0.00% 5 Missing ⚠️
ssa/package.go 75.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1057      +/-   ##
==========================================
- Coverage   82.31%   81.01%   -1.30%     
==========================================
  Files          42       45       +3     
  Lines        7584     7871     +287     
==========================================
+ Hits         6243     6377     +134     
- Misses       1301     1426     +125     
- Partials       40       68      +28     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@cpunion cpunion mentioned this pull request Apr 9, 2025
15 tasks
@xushiwei xushiwei merged commit be0e42c into goplus:main Apr 9, 2025
33 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants