github.com/gopherjs/gopherjs@v1.19.0-beta1.0.20240506212314-27071a8796e4/compiler/natives/src/bytes/bytes_test.go (about)

     1  //go:build js
     2  // +build js
     3  
     4  package bytes_test
     5  
     6  import (
     7  	"testing"
     8  )
     9  
    10  func dangerousSlice(t *testing.T) []byte {
    11  	t.Skip("dangerousSlice relies on syscall.Getpagesize, which GopherJS doesn't implement")
    12  
    13  	panic("unreachable")
    14  }