Skip to content
This repository has been archived by the owner on Oct 22, 2021. It is now read-only.

Add js/wasm build target support #71

Closed
Xuanwo opened this issue Aug 24, 2021 · 1 comment
Closed

Add js/wasm build target support #71

Xuanwo opened this issue Aug 24, 2021 · 1 comment

Comments

@Xuanwo
Copy link
Contributor

Xuanwo commented Aug 24, 2021

> CGO_ENABLED=0 GOOS=js GOARCH=wasm go build -o main.wasm ./...
package github.com/beyondstorage/go-service-fs/v3
        imports golang.org/x/sys/unix: build constraints exclude all Go files in /home/xuanwo/Code/go/pkg/mod/golang.org/x/[email protected]/unix

We need to add extra file for js like readdir_js.go

@Xuanwo
Copy link
Contributor Author

Xuanwo commented Aug 24, 2021

Fixed in #72

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant