Skip to content

Conversation

richardeoin
Copy link
Member

@richardeoin richardeoin commented Nov 29, 2024

static-mut-refs

For the future, need to investigate:

  • How to implement DMA without requiring the lifetime of the buffer to be 'static
  • How to specific the link_section of non-static buffers

Suggest merging to fix CI on stable and nightly. (clippy and MSRV versions will still need a bump as well)

For the future, need to investigate:
* How to implement DMA without requiring the lifetime of the buffer to be
'static
* How to specific the link_section of non-static buffers
@tlevora
Copy link
Contributor

tlevora commented Nov 30, 2024

@richardeoin: Do you think static-cell is a good enough alternative to static mut buffers or do you have totally different solution on your mind?

@richardeoin
Copy link
Member Author

I think static-cell would be a much better alternative actually. Feel free to make an alternative PR!

@richardeoin
Copy link
Member Author

Closing in favour of #512, or something based on the ideas discussed in #513

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