Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add z/OS support #201

Merged
merged 2 commits into from
Oct 31, 2024
Merged

add z/OS support #201

merged 2 commits into from
Oct 31, 2024

Conversation

MacMalainey
Copy link
Contributor

adds z/OS target support

@creack
Copy link
Owner

creack commented Oct 29, 2024

Would it be possible to follow the pattern used in pty_darwin.go, pty_freebsd.go & co, i.e. implement ptsname, unlockpt, etc instead of adding the sys/unix dependency?

@MacMalainey
Copy link
Contributor Author

Would it be possible to follow the pattern used in pty_darwin.go, pty_freebsd.go & co, i.e. implement ptsname, unlockpt, etc instead of adding the sys/unix dependency?

Done - note that it does depend on some runtime functions that are only present in the IBM maintained z/OS port of the Go compiler/library (just in case you were wondering where those functions came from)

@creack
Copy link
Owner

creack commented Oct 31, 2024

thanks! looks good. Does the runtime thing mean we require cgo on zos?

@MacMalainey
Copy link
Contributor Author

No, CGO won't be required!

@creack creack merged commit edfbf75 into creack:master Oct 31, 2024
5 checks passed
@creack
Copy link
Owner

creack commented Oct 31, 2024

tagged and released. Thanks!

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