Skip to content

chore: forward port 1.44.x#7242

Merged
carllerche merged 9 commits intomasterfrom
forward-port-1.44.x
Apr 5, 2025
Merged

chore: forward port 1.44.x#7242
carllerche merged 9 commits intomasterfrom
forward-port-1.44.x

Conversation

@carllerche
Copy link
Copy Markdown
Member

Forward ports #7232 to 1.44.x

Note: this PR should be merged in manually to master and not squashed using the PR interface.

Darksonn and others added 9 commits July 22, 2024 23:22
The broadcast channel does not require values to implement `Sync` yet it calls
the `.clone()` method without synchronizing. This is unsound logic. This patch
adds per-value synchronization on receive to handle this case. It is unlikely
any usage of the broadcast channel is currently at risk of the unsoundeness
issue as it requires accessing a `!Sync` type during `.clone()`, which would be
very unusual when using the broadcast channel.
@github-actions github-actions Bot added the R-loom-sync Run loom sync tests on this PR label Apr 5, 2025
@carllerche carllerche merged commit 6766307 into master Apr 5, 2025
84 checks passed
@carllerche carllerche deleted the forward-port-1.44.x branch April 5, 2025 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

R-loom-sync Run loom sync tests on this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants