David Crawshaw | c1c8c3c | 2014-07-07 07:35:39 -0400 | [diff] [blame] | 1 | // Copyright 2014 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
Shenghou Ma | d3526ea | 2014-11-21 18:15:30 -0500 | [diff] [blame] | 5 | package runtime |
| 6 | |
Shenghou Ma | 1050c41 | 2014-12-23 00:03:40 -0500 | [diff] [blame] | 7 | import _ "unsafe" // for go:cgo_export_static and go:cgo_export_dynamic |
David Crawshaw | c1c8c3c | 2014-07-07 07:35:39 -0400 | [diff] [blame] | 8 | |
| 9 | // Export the runtime entry point symbol. |
| 10 | // |
| 11 | // Used by the app package to start the Go runtime after loading |
Andrew Gerrand | 7f0be1f | 2014-11-10 09:15:57 +1100 | [diff] [blame] | 12 | // a shared library via JNI. See golang.org/x/mobile/app. |
David Crawshaw | c1c8c3c | 2014-07-07 07:35:39 -0400 | [diff] [blame] | 13 | |
Shenghou Ma | d3526ea | 2014-11-21 18:15:30 -0500 | [diff] [blame] | 14 | //go:cgo_export_static _rt0_arm_linux1 |
| 15 | //go:cgo_export_dynamic _rt0_arm_linux1 |