-
Notifications
You must be signed in to change notification settings - Fork 52
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
BBQueue backing storage is put in .data
instead of .bss
#43
Comments
Hmm, https://github.com/rust-embedded/cortex-m-rt/issues/116 claims that |
For reference, here is where I am explicitly zeroing the backing structure, and likely the source of why this is showing up in .data: https://docs.rs/bbqueue/0.4.0/src/bbqueue/atomic.rs.html#127-128 |
It's a little disappointing that the compiler isn't picking up that this is just zeroed in static (as bss) (or the optimizer decided that a memcpy is better than a memset) |
Also also for reference, I did try manually swapping the |
See jonas-schievink/rubble#100
This is a regression from 0.3.0 to 0.4.0.
The text was updated successfully, but these errors were encountered: