bytecodealliance / bytecodealliance/componentize-go
--generate-stubs files shouldn't contain 'DO NOT EDIT'
- Lingua principale
- Rust
- Stelle
- 17
- Fork
- 8
- Merge medio
- 6h 57m
- PR unite (30g)
- 5
Descrizione
If a user wants to generate bindings for exported methods/resources, it is confusing to have `Generated by 'wit-bindgen' {version}. DO NOT EDIT!`. wit-bindgen-go should have logic that ensures this is only added to non-export files.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia individuando la gestione di wit-bindgen-go per --generate-stubs e il codice che emette l'intestazione "Generated by 'wit-bindgen'". Confronta i file generati per i metodi o le risorse esportati e non esportati, quindi verifica che solo i file non esportati contengano il testo "DO NOT EDIT!".
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- go, rust, wasm
- Ambito
- cli, tooling
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 63/100