Skip to content

Commit

Permalink
Add an unsafe flag so we can continue to use unsafe even when purego …
Browse files Browse the repository at this point in the history
…is true (#356)
  • Loading branch information
jenn-k-f committed Aug 21, 2024
1 parent 2ad0d1b commit f80292a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions msgp/purego.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build purego || appengine
// +build purego appengine
//go:build (purego && !unsafe) || appengine
// +build purego,!unsafe appengine

package msgp

Expand Down
4 changes: 2 additions & 2 deletions msgp/unsafe.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build !purego && !appengine
// +build !purego,!appengine
//go:build (!purego && !appengine) || (!appengine && purego && unsafe)
// +build !purego,!appengine !appengine,purego,unsafe

package msgp

Expand Down

0 comments on commit f80292a

Please sign in to comment.