Skip to content

Backport SPSC fixes to 0.8 branch#655

Open
sgued wants to merge 3 commits intorust-embedded:v0.8.xfrom
sgued:spsc-backport-08
Open

Backport SPSC fixes to 0.8 branch#655
sgued wants to merge 3 commits intorust-embedded:v0.8.xfrom
sgued:spsc-backport-08

Conversation

@sgued
Copy link
Copy Markdown
Contributor

@sgued sgued commented Apr 14, 2026

This is being backported because it's a fix to an easy to reach UB if you're ever using N > usize::MAX/2, which could happen on some platforms where usize is 16 bits.

To minimise the differences with 0.8.0 once this is merged I'll release 0.8.1 from commit 0ed6913

#656 should be reviewed and merged first

sgued added 3 commits April 14, 2026 21:52
I want to include the minimum amount of changes to minimize the diff with 0.7.17
this is a backport after all, 0.7 is not officially maintained anymore
@jannic
Copy link
Copy Markdown
Member

jannic commented Apr 21, 2026

I assume this MR should not be merged into main, but into a (not yet existing) v0.8.x branch.

@sgued sgued changed the base branch from main to v0.8.x April 21, 2026 16:17
@sgued
Copy link
Copy Markdown
Contributor Author

sgued commented Apr 21, 2026

Thanks @jannic, fixed the target branch

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.

3 participants