mirror of
https://github.com/refraction-networking/utls.git
synced 2025-04-05 21:17:35 +03:00
fix build error on loongarch64
cpu/cpu_loong64.go:10:7: CacheLineSize redeclared in this block cpu/cpu.go:20:5: other declaration of CacheLineSize cpu/cpu.go:15:30: undefined array length CacheLinePadSize or missing type constraint cpu/cpu.go:20:29: undefined: CacheLinePadSize cpu/cpu.go:123:2: undefined: doinit
This commit is contained in:
parent
c785bd3a1e
commit
99c83a6df5
1 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
package cpu
|
package cpu
|
||||||
|
|
||||||
const CacheLineSize = 64
|
const CacheLinePadSize = 64
|
||||||
|
|
||||||
func initOptions() {
|
func doinit() {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue