Skip to content

Conversation

@paralin
Copy link
Contributor

@paralin paralin commented Feb 21, 2024

Fixes the following build failures:

GOOS=js GOARCH=wasm go build ./...
GOOS=wasip1 GOARCH=wasm go build ./...

Depends on: dgraph-io/ristretto#375

@paralin paralin requested a review from a team February 21, 2024 04:10
@netlify
Copy link

netlify bot commented Feb 21, 2024

Deploy Preview for badger-docs canceled.

Name Link
🔨 Latest commit 57c5fdc
🔍 Latest deploy log https://app.netlify.com/sites/badger-docs/deploys/674bf6cfda4f34000845353e

@github-actions
Copy link

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

@github-actions github-actions bot added the Stale label Jul 12, 2024
@paralin
Copy link
Contributor Author

paralin commented Jul 12, 2024

Still relevant

@mangalaman93
Copy link
Contributor

@paralin could you rebase the PR on latest main branch? We have merged the ristretto PR and badger has the latest changes now.

@mangalaman93 mangalaman93 self-assigned this Oct 14, 2024
@paralin paralin force-pushed the fix-wasm branch 2 times, most recently from 126017e to 1956019 Compare October 14, 2024 20:19
@paralin
Copy link
Contributor Author

paralin commented Oct 14, 2024

@mangalaman93 I rebased it. The tests do not pass since mmap fails on wasm. I think there would need to be conditional logic to not use mmap on wasm / js for this to actually be usable. But at least it compiles on these platforms now, with stubs.

Fixes the following build failures:

GOOS=js GOARCH=wasm go build ./...
GOOS=wasip1 GOARCH=wasm go build ./...

Depends on: dgraph-io/ristretto#375

Signed-off-by: Christian Stewart <christian@aperture.us>
@paralin
Copy link
Contributor Author

paralin commented Oct 29, 2024

Rebased again. I think this is still good to merge, even though js does not work properly, at least it builds cleanly.

@github-actions github-actions bot removed the Stale label Nov 12, 2024
@mangalaman93 mangalaman93 enabled auto-merge (squash) November 28, 2024 14:40
Copy link
Contributor

@mangalaman93 mangalaman93 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR, just two minor comments.

@ryanfoxtyler ryanfoxtyler merged commit 3e1b0c0 into dgraph-io:main Dec 1, 2024
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants