Skip to content

Commit 57cb2c2

Browse files
committed
bring back runtime panic
1 parent 4ec411d commit 57cb2c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/runtime/sync.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ package runtime
66
func semacquire(sema *uint32) {
77
// TODO the "net" pkg calls this, so panic() isn't an option. Right
88
// now, just ignore the call.
9-
// panic("todo: semacquire")
9+
panic("todo: semacquire")
1010
}
1111

1212
//go:linkname semrelease internal/poll.runtime_Semrelease
1313
func semrelease(sema *uint32) {
1414
// TODO the "net" pkg calls this, so panic() isn't an option. Right
1515
// now, just ignore the call.
16-
// panic("todo: semrelease")
16+
panic("todo: semrelease")
1717
}

0 commit comments

Comments
 (0)