Skip to content

Commit 58514f3

Browse files
authored
🐛 bug: Fix usage of runtime RO data for ppc64 and s390x platforms (#3772)
1 parent b25339d commit 58514f3

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

readonly.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
//go:build !s390x && !ppc64 && !ppc64le
2+
13
package fiber
24

35
import (

readonly_strict.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
//go:build s390x || ppc64 || ppc64le
2+
3+
package fiber
4+
5+
import "unsafe"
6+
7+
func isReadOnly(_ unsafe.Pointer) bool {
8+
return false
9+
}

0 commit comments

Comments
 (0)