Redox OS Port: Refcell already borrowed
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
- Ambito
- operating-systems
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/edit
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 58/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 75/100
Tutte le issue di microsoft/edit
Issue simili
-
bug github_actions
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
registrystack/registry-stack#1393 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
longbridge/gpui-kit#3223 ·
-
bug engine
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
rocky-data/rocky#2181 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
oasisprotocol/oasis-sdk#2523 ·
-
[indexer] [QA] Add a focused test for the new NonRetryableError / assertSocketAlive() behavior. Apertabot:ai-assisted component:indexer QA-roadmap status:untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
midnightntwrk/midnight-indexer#1557 ·