Skip to content

return errno value on darwin amd64/arm64#416

Merged
TotallyGamerJet merged 3 commits intoebitengine:mainfrom
TotallyGamerJet:errno-darwin
Feb 14, 2026
Merged

return errno value on darwin amd64/arm64#416
TotallyGamerJet merged 3 commits intoebitengine:mainfrom
TotallyGamerJet:errno-darwin

Conversation

@TotallyGamerJet
Copy link
Collaborator

What issue is this addressing?

Updates #244
Updates #390

What type of issue is this addressing?

feature

What this PR does | solves

It adds support to return the errno value on Darwin amd64/arm64. I don't recall why I removed it and it is needed if we want to ever return it as an error type from RegisterFunc calls. This also brings it back in line with he function doc for SyscallN that says it returns the errno but right now it doesn't.

Copy link
Member

@hajimehoshi hajimehoshi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@TotallyGamerJet TotallyGamerJet merged commit d8dcb88 into ebitengine:main Feb 14, 2026
47 checks passed
@TotallyGamerJet TotallyGamerJet deleted the errno-darwin branch February 14, 2026 14:10
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

Comments