summaryrefslogtreecommitdiffstats
path: root/misc/go.mod
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--misc/go.mod11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/go.mod b/misc/go.mod
new file mode 100644
index 0000000..712a051
--- /dev/null
+++ b/misc/go.mod
@@ -0,0 +1,11 @@
+// Module misc contains tests and binaries that pertain to specific build modes
+// (cgo) and platforms (Android and iOS).
+//
+// The 'run' scripts in ../src execute these tests and binaries, which need to
+// be in a module in order to build and run successfully in module mode.
+// (Otherwise, they lack well-defined import paths, and module mode — unlike
+// GOPATH mode — does not synthesize import paths from the absolute working
+// directory.)
+module misc
+
+go 1.18