Update dependencies and build to go1.22 (#2113)

* Update dependencies and build to go1.22

* Fix api changes wrt to dependencies

* Update golangci config
This commit is contained in:
Wim
2024-05-23 23:44:31 +02:00
committed by GitHub
parent 56e7bd01ca
commit 2f33fe86f5
1556 changed files with 3279522 additions and 1924375 deletions

18
vendor/modernc.org/libc/ccgo.go generated vendored
View File

@@ -1,5 +1,7 @@
// Code generated by 'go generate' - DO NOT EDIT.
//go:build !(linux && (amd64 || loong64))
package libc // import "modernc.org/libc"
import (
@@ -802,6 +804,22 @@ func PostIncAtomicUint32(p *uint32, d uint32) uint32 { return atomic.AddUint
func PostIncAtomicUint64(p *uint64, d uint64) uint64 { return atomic.AddUint64(p, d) - d }
func PostIncAtomicUintptr(p *uintptr, d uintptr) uintptr { return atomic.AddUintptr(p, d) - d }
func PostIncAtomicInt32P(p uintptr, d int32) int32 {
return atomic.AddInt32((*int32)(unsafe.Pointer(p)), d) - d
}
func PostIncAtomicInt64P(p uintptr, d int64) int64 {
return atomic.AddInt64((*int64)(unsafe.Pointer(p)), d) - d
}
func PostIncAtomicUint32P(p uintptr, d uint32) uint32 {
return atomic.AddUint32((*uint32)(unsafe.Pointer(p)), d) - d
}
func PostIncAtomicUint64P(p uintptr, d uint64) uint64 {
return atomic.AddUint64((*uint64)(unsafe.Pointer(p)), d) - d
}
func PostIncAtomicUintptrP(p uintptr, d uintptr) uintptr {
return atomic.AddUintptr((*uintptr)(unsafe.Pointer(p)), d) - d
}
func PostDecInt8(p *int8, d int8) int8 { r := *p; *p -= d; return r }
func PostDecInt16(p *int16, d int16) int16 { r := *p; *p -= d; return r }
func PostDecInt32(p *int32, d int32) int32 { r := *p; *p -= d; return r }