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

Remove CGO_ENABLED by using unix.Wait4 #624

Merged
merged 2 commits into from
Jan 25, 2024

Conversation

RonFed
Copy link
Contributor

@RonFed RonFed commented Jan 24, 2024

This PR removes the need to compile with CGO_ENABLED=1, which will make it much easier to cross-compile.
by using unix.Wait4 function instead of using C waitpid.
According to https://man7.org/linux/man-pages/man2/wait4.2.html,
it is equivalent to waitpid

@RonFed RonFed requested a review from a team January 24, 2024 08:13
@MrAlias MrAlias merged commit 7218a9d into open-telemetry:main Jan 25, 2024
16 checks passed
@MrAlias MrAlias added this to the v0.11.0-alpha milestone Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants