You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a script in Go that uses uTLS however when I try to compile it to wasm using GOOS=js GOARCH=wasm go build -o main.wasm client.go I get the error shown below:
What I expected to happen: build to succeed without error
When building to Linux or Windows binaries it works fine. However I get this issue with building to wasm. Please can someone let me know what I would need to do to make this build work, or if this build isn't possible.
The text was updated successfully, but these errors were encountered:
I have a script in Go that uses uTLS however when I try to compile it to wasm using
GOOS=js GOARCH=wasm go build -o main.wasm client.go
I get the error shown below:#github.com/refraction-networking/utls/cpu
../go/pkg/mod/github.com/refraction-networking/utls@v0.0.0-20201210053706-2179f286686b/cpu/cpu.go:16:16: undefined: CacheLineSize
../go/pkg/mod/github.com/refraction-networking/utls@v0.0.0-20201210053706-2179f286686b/cpu/cpu.go:33:16: undefined: CacheLineSize
../go/pkg/mod/github.com/refraction-networking/utls@v0.0.0-20201210053706-2179f286686b/cpu/cpu.go:46:14: undefined: CacheLineSize
../go/pkg/mod/github.com/refraction-networking/utls@v0.0.0-20201210053706-2179f286686b/cpu/cpu.go:58:14: undefined: CacheLineSize
../go/pkg/mod/github.com/refraction-networking/utls@v0.0.0-20201210053706-2179f286686b/cpu/cpu.go:66:14: undefined: CacheLineSize
../go/pkg/mod/github.com/refraction-networking/utls@v0.0.0-20201210053706-2179f286686b/cpu/cpu.go:76:14: undefined: CacheLineSize
What I expected to happen: build to succeed without error
When building to Linux or Windows binaries it works fine. However I get this issue with building to wasm. Please can someone let me know what I would need to do to make this build work, or if this build isn't possible.
The text was updated successfully, but these errors were encountered: