Add Tinygo as an alternate build target

Offen
#89 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
66/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
go, rust, wasm
Bereich
build-system, cli

Rechercherichtung

Start by reading the existing componentize-go build command implementation and how it invokes go build, then find its CLI option definitions and related tests. Add support for selecting a TinyGo binary through --tinygo and check how the command resolves it from $PATH when no path is supplied. Done means the command can build using TinyGo with either resolution path, with tests covering both.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Similar to how componentize-go wraps the go build command, I think it would be good to have support for tinygo build, especially now that tinygo seems to have support for wasip3.

I'm envisioning something like:

componentize-go build --tinygo

The --tinygo flag would be an Option<PathBuf>. IfNone, componentize-go would check $PATH; otherwise, use the supplied path to the binary.

Vorherrschende Sprache
Rust
Sterne
24
Forks
9
Ø Merge
1 T. 21 Std.
Gemergte PRs (30 T.)
2

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus bytecodealliance/componentize-go

Alle Issues in bytecodealliance/componentize-go

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.