Please add instructions on how to add an architecture
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 50/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- rust
- Ambito
- documentation
Direzione di ricerca
Start by tracing how existing architectures are added in rustix and linux-raw-sys, including the bindgen workflow mentioned in the issue. Document the prerequisites, commands, and architecture-specific steps so a newcomer can reproduce the process and understand what completion looks like.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
We're in the process on adding support for new architectures to the Rust compiler with the help of rustc_codegen_gcc.
As a first candidate, we want to get the m68k architecture working which has an LLVM backend which is not 100% feature-complete and has some issues when trying to build the Rust compiler for m68k. Thus, we want to give it a try with rustc_codegen_gcc.
Now, to get the backend working, we need to add m68k support in rustix and linux-raw-sys. While I have experience adding architecture support to the libc crate, I'm not sure how to add architecture support to these two crates. It seems that one has to run bindgen to generate the bindings, but there doesn't seem to be any easy to follow manual for it.
Could you please add instructions on how to add a new architecture so that new contributors don't have to figure this out by trial and error?
- Lingua principale
- Rust
- Stelle
- 71
- Fork
- 63
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
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 sunfishcode/linux-raw-sys
-
add OPENAT2_REGULAR Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
sunfishcode/linux-raw-sys#194 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
sunfishcode/linux-raw-sys#192 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
sunfishcode/linux-raw-sys#188 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
sunfishcode/linux-raw-sys#189 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
sunfishcode/linux-raw-sys#179 ·
Tutte le issue di sunfishcode/linux-raw-sys
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
TheLarkInn/aipm#2413 ·
-
documentation
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
alexgorbatchev/simple-ptt#15 ·
-
tooling
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
todo:ticket
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
taikoxyz/taiko-mono#22168 · 1 commento ·