mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-22 12:23:48 +01:00
fix broken caused by boltdb in mips/mipsle (#1107)
This commit is contained in:
parent
ef13bbaf7d
commit
6bdfadf4a9
2 changed files with 22 additions and 0 deletions
11
vendor/github.com/boltdb/bolt/bolt_mips.go
generated
vendored
Normal file
11
vendor/github.com/boltdb/bolt/bolt_mips.go
generated
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
// +build mips
|
||||
package bolt
|
||||
|
||||
// maxMapSize represents the largest mmap size supported by Bolt.
|
||||
const maxMapSize = 0x40000000 // 1GB
|
||||
|
||||
// maxAllocSize is the size used when creating array pointers.
|
||||
const maxAllocSize = 0xFFFFFFF
|
||||
|
||||
// brokenUnaligned Are unaligned load/stores broken on this arch?
|
||||
var brokenUnaligned = false
|
11
vendor/github.com/boltdb/bolt/bolt_mipsle.go
generated
vendored
Normal file
11
vendor/github.com/boltdb/bolt/bolt_mipsle.go
generated
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
// +build mipsle
|
||||
package bolt
|
||||
|
||||
// maxMapSize represents the largest mmap size supported by Bolt.
|
||||
const maxMapSize = 0x40000000 // 1GB
|
||||
|
||||
// maxAllocSize is the size used when creating array pointers.
|
||||
const maxAllocSize = 0xFFFFFFF
|
||||
|
||||
// brokenUnaligned Are unaligned load/stores broken on this arch?
|
||||
var brokenUnaligned = false
|
Loading…
Reference in a new issue