summaryrefslogtreecommitdiffhomepage
path: root/donotuseon_linux.go
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-23 03:17:51 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-23 05:18:13 +0200
commit588b9f01ae1ac81844b52c095c9abcd9326d35a3 (patch)
tree26031461215b1b355971d1590bc0b946ed814f7e /donotuseon_linux.go
parentf70bd1fab32ce7d1bb482f97cbca0a3ec0c45e40 (diff)
Adopt GOPATH
GOPATH is annoying, but the Go community pushing me to adopt it is even more annoying.
Diffstat (limited to 'donotuseon_linux.go')
-rw-r--r--donotuseon_linux.go15
1 files changed, 15 insertions, 0 deletions
diff --git a/donotuseon_linux.go b/donotuseon_linux.go
new file mode 100644
index 0000000..7197375
--- /dev/null
+++ b/donotuseon_linux.go
@@ -0,0 +1,15 @@
+// +build !android
+
+/* SPDX-License-Identifier: GPL-2.0
+ *
+ * Copyright (C) 2017-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
+ */
+
+package main
+
+const DoNotUseThisProgramOnLinux = UseTheKernelModuleInstead
+
+// --------------------------------------------------------
+// Do not use this on Linux. Instead use the kernel module.
+// See wireguard.com/install for more information.
+// --------------------------------------------------------