Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Linux siginfo_t is not Send/Sync since 0.2.190

Aperta
#5,624 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
rust
Ambito
backend

Direzione di ricerca

The report identifies libc::siginfo_t on x86_64-unknown-linux-gnu and links PR #5345 plus the change in version 0.2.190. Read that PR and compare the Send and Sync implementations for siginfo_t between 0.2.189 and 0.2.190. Determine whether the trait change was intentional; done means the behavior is explained and, if unintended, the appropriate regression is resolved.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Since c55443670d285a5168c156db982a55e4cfe5be07 / https://github.com/rust-lang/libc/pull/5345, x86_64-unknown-linux-gnu's libc::siginfo_t that used to implement Send and Sync in 0.2.189 no longer does. It isn't clear from the PR or commit descriptions that this was intentional.

fn require_send_sync<T: Send + Sync>() {}

fn main() {
    require_send_sync::<libc::siginfo_t>();
}

@dybucc @tgross35

Lingua principale
Rust
Stelle
2.6k
Fork
1.3k
Merge medio
3g 1h
PR unite (30g)
58

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di rust-lang/libc

Tutte le issue di rust-lang/libc

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.