Skip to content

[go1.20] Update the AnyOverlap methods #1314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
//go:build js
// +build js

package subtle
package alias

// This file duplicated is these two locations:
// - src/crypto/internal/subtle/
// - src/golang.org/x/crypto/internal/subtle/
// - src/crypto/internal/alias/
// - src/golang.org/x/crypto/internal/alias/

import "github.com/gopherjs/gopherjs/js"

Expand Down
10 changes: 10 additions & 0 deletions compiler/natives/src/crypto/internal/boring/aes.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//go:build js
// +build js

package boring

import "crypto/internal/alias"

func anyOverlap(x, y []byte) bool {
return alias.AnyOverlap(x, y)
}
21 changes: 0 additions & 21 deletions compiler/natives/src/crypto/internal/subtle/aliasing.go

This file was deleted.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading