Skip to content

Conversation

@Watson1978
Copy link
Contributor

@Watson1978 Watson1978 commented Aug 21, 2024

Since Ruby 3.2, pipe function declaration is provided in https://github.com/ruby/ruby/blob/21c708ee802e1a59901eccc6448e40e8f72189b8/include/ruby/missing.h#L292
However, it does not provided it with Ruby 3.1.

This patch will define pipe macro to use proper function due to fix build error.

Types of Changes

  • Bug fix.

Fix #111

Contribution

@ioquatix
Copy link
Member

I may need to review the test failures, it may be unrelated to the PR. I'll try to take a look shortly.

@Watson1978
Copy link
Contributor Author

Thanks

Since Ruby 3.2, `pipe` function declaration is provided in https://github.com/ruby/ruby/blob/21c708ee802e1a59901eccc6448e40e8f72189b8/include/ruby/missing.h#L292
However, it does not provided it with Ruby 3.1.

This patch will define `pipe` macro to use proper function due to fix build error.
@ioquatix ioquatix merged commit 6c434e2 into socketry:main Oct 3, 2024
@ioquatix
Copy link
Member

ioquatix commented Oct 3, 2024

This is a good start to better windows support. Thanks.

@ioquatix
Copy link
Member

ioquatix commented Oct 4, 2024

I have released v1.7.0 which works with Windows, tested on Ruby v3.1+.

For better compatibility, we should work on #97.

@Watson1978 Watson1978 deleted the fix-build-error branch October 4, 2024 00:56
@Watson1978
Copy link
Contributor Author

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.

Build error with Ruby 3.1 on Windows

2 participants