Support GOARCH=wasm target
Open
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 69
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
Running go build which has a dependency against result into github.com/moby/term following error:
# github.com/moby/term
../../go/pkg/mod/github.com/moby/term@v0.5.2/term_unix.go:21:15: undefined: unix.Termios
../../go/pkg/mod/github.com/moby/term@v0.5.2/term_unix.go:39:19: undefined: unix.IoctlGetWinsize
../../go/pkg/mod/github.com/moby/term@v0.5.2/term_unix.go:39:49: undefined: unix.TIOCGWINSZ
../../go/pkg/mod/github.com/moby/term@v0.5.2/term_unix.go:45:14: undefined: unix.IoctlSetWinsize
../../go/pkg/mod/github.com/moby/term@v0.5.2/term_unix.go:45:44: undefined: unix.TIOCSWINSZ
../../go/pkg/mod/github.com/moby/term@v0.5.2/term_unix.go:88:31: undefined: unix.Termios
../../go/pkg/mod/github.com/moby/term@v0.5.2/term_unix.go:96:32: undefined: unix.Termios
../../go/pkg/mod/github.com/moby/term@v0.5.2/termios_unix.go:13:21: undefined: unix.Termios
../../go/pkg/mod/github.com/moby/term@v0.5.2/termios_nonbsd.go:11:20: undefined: unix.TCGETS
../../go/pkg/mod/github.com/moby/term@v0.5.2/termios_nonbsd.go:12:20: undefined: unix.TCSETS
../../go/pkg/mod/github.com/moby/term@v0.5.2/term_unix.go:45:44: too many errors
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with GOARCH=wasm and review the referenced term_unix.go and termios_unix.go paths alongside the undefined unix.Termios and ioctl symbols. Determine the platform-specific handling needed for this target, then verify that the dependent Go build completes without those errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, wasm
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100