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

In examples, disable the static-mut-refs lint #509

Closed
wants to merge 2 commits into from

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