aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/jackc/puddle/v2/nanotime_unsafe.go
blob: fc3b8a258dfc0d747d0ec9683dbcce6c2dd5a461 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
//go:build !purego && !appengine && !js

// This file contains the implementation of nanotime using runtime.nanotime.

package puddle

import "unsafe"

var _ = unsafe.Sizeof(0)

//go:linkname nanotime runtime.nanotime
func nanotime() int64