Improve ergonomics of Rust examples, re-enable use of published packages
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- rust, wasm
- Ambito
- devtools, documentation
Direzione di ricerca
Inizia esaminando la funzionalità ripristinata in PR #254 e il codice del tutorial Rust. Confronta la configurazione dei package documentata con il comportamento attuale di cargo-component e wasm-pkg-tools, quindi determina quale dei tre approcci proposti è attuabile. Il lavoro è completato quando gli esempi possono usare package WIT pubblicati senza gli attuali errori di configurazione o di risoluzione di più worlds.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
This issue arguably shouldn't go here, but currently UX issues in upstream tooling is making the Rust
The goal is to revert this reverted functionality -- we want to be able to use published WIT packages but there are a few issues stopping us:
cargo-componentdoes not configure/patch wherewkglooks for deps (the target kind) when configured inCargo.toml(i.e. we should be able to specify thatdocsis a known package w/ a known registry)cargo-componentcurrently does not properly resolve targets w/ multiple worlds even ifwkgis configured (via it's global config file)wkgshould be able to use local fconfig
There are at least a few ways to solve this issue:
- Update
cargo-componentto perform the patching of registries for namespaces before usingwasm-pkg-toolsfunctionality - Update
wkgto prefer local config files and include one in the tutorial code - Update the guide to get users to configure
wkgglobal config before attempting usage.
A somewhat hidden requirement/sidequest to this issue is that we need more cargo-component/wasm-pkg-tools maintainers. The current functionality is fantastic for these tools, but the UX needs to be polished just a bit.
- Lingua principale
- Rust
- Stelle
- 137
- Fork
- 88
- Merge medio
- 10h 38m
- PR unite (30g)
- 2
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 bytecodealliance/component-docs
-
Difficoltà 2/5 Mezza giornata Idoneità per principianti 72/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
bytecodealliance/component-docs#294 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 68/100
bytecodealliance/component-docs#376 · 1 commento ·
-
Fix Python Tutorial Apertabug lang/python
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
bytecodealliance/component-docs#348 · 2 commenti ·
Tutte le issue di bytecodealliance/component-docs
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 ·