diff options
Diffstat (limited to 'src/cmd/gc/builtin.c.boot')
-rw-r--r-- | src/cmd/gc/builtin.c.boot | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/cmd/gc/builtin.c.boot b/src/cmd/gc/builtin.c.boot index 0f189d363..8657944b5 100644 --- a/src/cmd/gc/builtin.c.boot +++ b/src/cmd/gc/builtin.c.boot @@ -55,13 +55,6 @@ char *sysimport = "func sys.arrayslices (old *any, nel int, lb int, hb int, width int) (ary []any)\n" "func sys.arrays2d (old *any, nel int) (ary []any)\n" "func sys.closure ()\n" - "func sys.Breakpoint ()\n" - "var sys.Args []string\n" - "var sys.Envs []string\n" - "func sys.Gosched ()\n" - "func sys.Goexit ()\n" - "func sys.Exit (? int)\n" - "func sys.Caller (n int) (pc uint64, file string, line int, ok bool)\n" "\n" "$$\n"; char *unsafeimport = @@ -74,3 +67,11 @@ char *unsafeimport = "func unsafe.Unreflect (? uint64, ? string, ? bool) (ret interface { })\n" "\n" "$$\n"; +char *runtimeimport = + "package runtime\n" + "func runtime.Breakpoint ()\n" + "func runtime.Gosched ()\n" + "func runtime.Goexit ()\n" + "func runtime.Caller (n int) (pc uint64, file string, line int, ok bool)\n" + "\n" + "$$\n"; |