mirror of
https://github.com/tailscale/tailscale.git
synced 2026-04-04 14:43:42 -04:00
Adds the ability to probe for various capabilities. It will not call into C unless necessary. It also allocates one probe per call to new capability, which may be expensive, so in theory they could be reused instead. Signed-off-by: kadmin <julianknodt@gmail.com>
12 lines
115 B
Go
12 lines
115 B
Go
// +build linux
|
|
|
|
package uring
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestUringAvailable(t *testing.T) {
|
|
uringSupported()
|
|
}
|