1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-11-23 16:22:24 +03:00

Bump the go-deadlock dependency to v0.3.6

This is needed for compatibility with go 1.25.
This commit is contained in:
Stefan Haller
2025-09-20 10:51:37 +02:00
parent d56a9cf73e
commit f689b32c33
6 changed files with 48 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
//go:build gc && go1.23
// +build gc,go1.23
//go:build gc && go1.23 && !go1.25
// +build gc,go1.23,!go1.25
package goid

37
vendor/github.com/petermattis/goid/runtime_go1.25.go generated vendored Normal file
View File

@@ -0,0 +1,37 @@
//go:build gc && go1.25
// +build gc,go1.25
package goid
type stack struct {
lo uintptr
hi uintptr
}
type gobuf struct {
sp uintptr
pc uintptr
g uintptr
ctxt uintptr
lr uintptr
bp uintptr
}
type g struct {
stack stack
stackguard0 uintptr
stackguard1 uintptr
_panic uintptr
_defer uintptr
m uintptr
sched gobuf
syscallsp uintptr
syscallpc uintptr
syscallbp uintptr
stktopsp uintptr
param uintptr
atomicstatus uint32
stackLock uint32
goid int64 // Here it is!
}