Define `#[panic_handler]` printing the error
Aperta
Adatta ai principianti
- Lingua principale
- Rust
- Stelle
- 115
- Fork
- 84
- Merge medio
- 1g 8h
- PR unite (30g)
- 15
Descrizione
With https://github.com/0xMiden/compiler/pull/1319 we can now print everything. :)
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Look for the existing panic handler or where panics are defined in the codebase, likely in a lib.rs or main.rs. The linked PR #1319 shows new printing capabilities; examine its changes to understand the available printing interface. Implement a `#[panic_handler]` that uses this new interface to print the panic error message. Test by triggering a panic in a simple test program.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust
- Ambito
- compilers
- Tipo di issue
- Funzionalità
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 65/100