summaryrefslogtreecommitdiffstats
path: root/src/syscall/js/js_js.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/syscall/js/js_js.s')
-rw-r--r--src/syscall/js/js_js.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/syscall/js/js_js.s b/src/syscall/js/js_js.s
new file mode 100644
index 0000000..abdccc9
--- /dev/null
+++ b/src/syscall/js/js_js.s
@@ -0,0 +1,7 @@
+// Copyright 2018 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+// The runtime package uses //go:linkname to push the setEventHandler to this
+// package. To prevent the go tool from passing -complete to the compile tool,
+// this file must remain stubbed out.