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

Change mutability of RxToken's consume argument. #924

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

lmbollen
Copy link
Contributor

This pull request drops the requirement that we can mutate the receive buffer.

I noticed issue #443 already discussed this, but was closed without making the change. Even though the suggestion was to change it.

@lmbollen lmbollen force-pushed the rx-token-consume-mutability branch from 54fee5d to 6fbd46c Compare April 24, 2024 06:30
@lmbollen
Copy link
Contributor Author

Had to add:

extern crate alloc;
use alloc::vec::Vec;

to fuzz_injector, which should not be a problem since it's for development and not production.
@whitequark Feel free to merge or ping me if you still agree with the changes.

This drops the requirement that we can mutate the receive buffer, which is not always te case.
@lmbollen lmbollen force-pushed the rx-token-consume-mutability branch from 6fbd46c to 4055a19 Compare August 9, 2024 08:21
@lmbollen
Copy link
Contributor Author

lmbollen commented Aug 9, 2024

@whitequark I think we're ready to merge :) But I have no rights.

@whitequark whitequark added this pull request to the merge queue Aug 9, 2024
Merged via the queue into smoltcp-rs:main with commit 30966f3 Aug 9, 2024
9 checks passed
martijnbastiaan added a commit to bittide/bittide-hardware that referenced this pull request Nov 21, 2024
martijnbastiaan added a commit to bittide/bittide-hardware that referenced this pull request Nov 21, 2024
martijnbastiaan added a commit to bittide/bittide-hardware that referenced this pull request Nov 21, 2024
martijnbastiaan added a commit to bittide/bittide-hardware that referenced this pull request Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants