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

Redox OS Port: Refcell already borrowed

Aperta
#660 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
rust

Direzione di ricerca

Riproduci il panic all’avvio su Redox e ispeziona src/tui.rs:773 insieme alla gestione dei borrow in src/cell.rs. Per prima cosa determina in modo isolato se il problema è specifico di Redox o del compilatore Rust in uso; il lavoro è completato quando è disponibile un reproducer minimo oppure una causa confermata con un fix mirato.

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

Descrizione

Hello! I tried to port edit into Redox, and it's compiling well! Interestingly, I got edit crashed at startup.

I look deeper and stumble upon cell.rs, I went to comment out all release scope in that and now it shown this:

thread 'main' (1) panicked at src/tui.rs:773:33:
Refcell already borrowed

Given the same code runs well on Linux I think this is a problem into rust compiler on Redox itself. But I unable to isolate the problem into a simple test.

The code crashed around src/tui.rs:773 and it crashed the first time it hit this code, and I also unable to work around it.

I would like either having a minimal reproducible code around it, or maybe some insight into this problem. I think actually trying to solve this will be hard (I don't know who borrows it?) and I understand the OS is not in your supported target at this time.

Lingua principale
Rust
Stelle
14.6k
Fork
735
Merge medio
8h 40m
PR unite (30g)
4

Guida per i contributori

Apri la guida per i contributori

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 microsoft/edit

Tutte le issue di microsoft/edit

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.