dgraph-io / ristretto

A high performance memory-bound Go cache
https://dgraph.io/blog/post/introducing-ristretto-high-perf-go-cache/
Apache License 2.0
5.54k stars 364 forks source link

Fix build with GOOS=js GOARCH=wasm #375

Closed paralin closed 6 days ago

paralin commented 6 months ago

GOOS=js GOARCH=wasm gb ./...

Previously failed with errors importing x/sys/unix.

Fixed by adding the appropriate build tags.

CLAassistant commented 6 months ago

CLA assistant check
All committers have signed the CLA.

github-actions[bot] commented 2 months ago

This PR has been stale for 60 days and will be closed automatically in 7 days. Comment to keep it open.

paralin commented 2 months ago

Still relevant