Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(512)

Delta Between Two Patch Sets: src/pkg/runtime/extern.go

Issue 6875063: code review 6875063: runtime: display go version and operating system inform... (Closed)
Left Patch Set: diff -r 5eac1a2d6fc3 https://go.googlecode.com/hg/ Created 11 years, 3 months ago
Right Patch Set: diff -r a32219a715c5 https://code.google.com/p/go Created 11 years, 3 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | src/pkg/runtime/panic.c » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 // Copyright 2009 The Go Authors. All rights reserved. 1 // Copyright 2009 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 /* 5 /*
6 Package runtime contains operations that interact with Go's runtime syst em, 6 Package runtime contains operations that interact with Go's runtime syst em,
7 such as functions to control goroutines. It also includes the low-level type information 7 such as functions to control goroutines. It also includes the low-level type information
8 used by the reflect package; see reflect's documentation for the program mable 8 used by the reflect package; see reflect's documentation for the program mable
9 interface to the run-time type system. 9 interface to the run-time type system.
10 */ 10 */
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
134 134
135 // GOOS is the running program's operating system target: 135 // GOOS is the running program's operating system target:
136 // one of darwin, freebsd, linux, and so on. 136 // one of darwin, freebsd, linux, and so on.
137 const GOOS string = theGoos 137 const GOOS string = theGoos
138 138
139 // GOARCH is the running program's architecture target: 139 // GOARCH is the running program's architecture target:
140 // 386, amd64, or arm. 140 // 386, amd64, or arm.
141 const GOARCH string = theGoarch 141 const GOARCH string = theGoarch
142 142
143 // panicvers is printed by panic 143 // panicvers is printed by panic
144 var panicvers = "Go runtime version: " + theVersion + " " + GOOS + "/" + GOARCH + "\n" 144 var panicvers = "runtime version: " + theVersion + "\nruntime host: " + GOOS + " /" + GOARCH + "\n"
remyoudompheng 2012/12/05 22:32:20 I wonder if panicvers should be a constant. Anyway
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b