goplus / llgo

A Go compiler based on LLVM in order to better integrate Go with the C ecosystem including Python
Apache License 2.0
365 stars 26 forks source link

os:correct error of noexist file #827

Closed luoliwoshang closed 1 month ago

luoliwoshang commented 1 month ago

825

current patch in llgo only returns 0 and -1. The value -1 is not the appropriate return value for file errors

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 97.47%. Comparing base (07874cf) to head (ae91101). Report is 5 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #827 +/- ## ======================================= Coverage 97.47% 97.47% ======================================= Files 20 20 Lines 5157 5157 ======================================= Hits 5027 5027 Misses 110 110 Partials 20 20 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.