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

Use youki's with_stdxx functions #788

Merged
merged 8 commits into from
Jan 2, 2025
Merged

Conversation

jprendes
Copy link
Collaborator

@jprendes jprendes commented Jan 2, 2025

This PR removes our custom handling of stdio and uses youki's new with_stdxx methods.

This is a breaking change.
Previously the Stdio object allowed implementor to choose if/when to redirect stdio.
With this change, stdio is redirected before the run_wasi method is called.

As far as I'm aware there's no-one currently using that functionality.

Signed-off-by: Jorge Prendes <[email protected]>
Signed-off-by: Jorge Prendes <[email protected]>
Signed-off-by: Jorge Prendes <[email protected]>
Signed-off-by: Jorge Prendes <[email protected]>
Signed-off-by: Jorge Prendes <[email protected]>
Signed-off-by: Jorge Prendes <[email protected]>
@jprendes jprendes marked this pull request as ready for review January 2, 2025 12:53
@jprendes jprendes requested review from Mossaka and andreiltd January 2, 2025 12:55
Mossaka
Mossaka previously approved these changes Jan 2, 2025
Copy link
Member

@Mossaka Mossaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks much cleaner! Thanks

Can you please add this change to the CHANGELOG?

Signed-off-by: Jorge Prendes <[email protected]>
@jprendes jprendes merged commit 842b22e into containerd:main Jan 2, 2025
72 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.

2 participants