-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Enable it build on Windows by unix
→ unix-compat
transition
#114
Conversation
Thanks for the PR! I really don't want to drop |
deb41df
to
ab36cdd
Compare
ab36cdd
to
224e9a7
Compare
Done, check it out. A CI config for Windows is in order as well, let me know if that's a must. |
Extracts platform-dependent code to OpenTelemetry.Platform module
224e9a7
to
9b2cec0
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
@iand675 do you want me to introduce CI on Windows as well? |
It would be good to have some windows CI, but this seems like a definite improvement nonetheless. Could you add a note to the Changelog? Then I'll merge. |
@michaelpj done and done! |
Speaking of windows CI, I'm working on it at https://github.com/develop7/hs-opentelemetry/tree/ci-windows_builds |
Thanks! |
Use
unix-compat
in place ofunix
, enabling the project to build for Windows too.Unfortunately, had to leave
process.owner
field empty because a non-POSIXgetEffectiveUserID
implementation is absent inunix-compat
(for reasons described in haskell-pkg-janitors/unix-compat#2 (comment)). Please let me know if the conditional compilation approach is welcome here, I'll update the code appropriately.A possible fix for #109.