Skip to content

Boost 1.88 update #464

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

Merged
merged 32 commits into from
Feb 21, 2025
Merged

Boost 1.88 update #464

merged 32 commits into from
Feb 21, 2025

Conversation

klemens-morgenstern
Copy link
Collaborator

No description provided.

klemens-morgenstern and others added 30 commits December 13, 2024 11:58
* Fix Github Actions CI

Containerize old compiler jobs
Fix Node20 Glibc
Reformat job list to make it easier to update

* Fix install of packages

* Remove macos-12
…e ends

`process_stdio` holds on to the handles for `in`/`out`/`err`. In case of
pipes, `in` needs the handles of a `readable_pipe`, whereas `out` and
`err` need the handles of `writable_pipe`s. So far, the tests all create
a new pair using `connect_pipe`, pass the "correct" end into
`process_stdio`, and use the other end to interface with the process.

However, `process_io_binding` also supports construction from the
complementary pipe types, i.e., constructing `in`'s binding from a
`writable_pipe` and `out`/`err`'s bindings from `readable_pipe`s.
In this case, the constructor will create the corresponding pipe itself
and keep ownership of it. This mode was thus far not tested.
This test currently fails on POSIX, as `process_io_binding` does not
explicitly implement move operations but holds on to a file descriptor
which exhibits reference semantics and has a non-trivial destructor.

The same test should pass on Windows as the Windows implementation makes
use of `unique_ptr` which gives it correct move semantics by virtue of
the rule of zero.
…erations

This makes the test added in the previous commit pass.
jgreitemann and others added 2 commits February 21, 2025 08:08
As of 2ccd97c, v2 is the default when using the unversioned includes.
This broke the v1 tests which were still using those.
Build previously failed when BOOST_PROCESS_USE_STD_FS was ON, because filesystem was linked to regardless.
@klemens-morgenstern klemens-morgenstern merged commit 8ae055b into master Feb 21, 2025
40 of 50 checks passed
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.

9 participants