Skip to content

Conversation

@sosthene-nitrokey
Copy link
Contributor

This would supersede #484. We need to pay attention to the Drop impl depending on the order we merge PRs

This adds a couple of methods to the Storage sealed trait to deal with the fact that Borrow cannot be used in concurrent code:

  • One to safely get the length of the buffer from a pointer to it
  • One to get a pointer to the beginning of the slice

Copy link
Member

@Dirbaio Dirbaio left a comment

Choose a reason for hiding this comment

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

thanks!

@Dirbaio Dirbaio added this pull request to the merge queue Jul 1, 2024
Merged via the queue into rust-embedded:main with commit 55ed7c2 Jul 1, 2024
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