Add Tinygo as an alternate build target

Đang mở
#89 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
66/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go, rust, wasm
Lĩnh vực
build-system, cli

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
24
Fork
9
Merge trung bình
1 ngày 21 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của bytecodealliance/componentize-go

Tất cả issue của bytecodealliance/componentize-go

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.