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

Shuffle SlaveRef methods around #136

Merged
merged 8 commits into from
Dec 22, 2023
Merged

Shuffle SlaveRef methods around #136

merged 8 commits into from
Dec 22, 2023

Conversation

jamwaffles
Copy link
Collaborator

Breaking change. Sorry about that! The fix is a rename and the odd mut here and there so hopefully not too bad.

Some fixes and additions for SlaveRef methods:

  • Adds io_raw_mut and outputs_mut. io_raw and outputs now only return immutable references.
  • Fixes a soundness bug where multiple calls to io_raw would result in multiple mutable references being held to the same data.

@jamwaffles jamwaffles marked this pull request as ready for review December 22, 2023 20:10
@jamwaffles jamwaffles merged commit 3f6887b into master Dec 22, 2023
7 checks passed
@jamwaffles jamwaffles deleted the immutable-outputs branch December 22, 2023 20:10
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