Skip to content

Change stream methods to require &mut - #146

Open
adamrk wants to merge 5 commits into
bytecodealliance:mainfrom
adamrk:abk/shared-ref-changes
Open

Change stream methods to require &mut#146
adamrk wants to merge 5 commits into
bytecodealliance:mainfrom
adamrk:abk/shared-ref-changes

Conversation

@adamrk

@adamrk adamrk commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Based on #142

The existing stream methods that read and write through & references won't work with p3 streams, so this makes the breaking change of requiring &mut when reading and writing. This PR contains all the expected breaking changes from adding p3 support.

Addresses #145

@adamrk

adamrk commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

Note: this PR should be on top of #142, but I can't seem to select that branch as the target in the PR (I guess because it's from my fork of the repo?).

@adamrk

adamrk commented Sep 2, 2026

Copy link
Copy Markdown
Contributor Author

Looks like the test failure is the same one that should be fixed by #143.

@adamrk
adamrk force-pushed the abk/shared-ref-changes branch 2 times, most recently from 2045a63 to 22c1ffa Compare September 3, 2026 14:06
@adamrk
adamrk force-pushed the abk/shared-ref-changes branch from 22c1ffa to 443ef72 Compare September 3, 2026 14:26
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.

1 participant