mirror of
https://github.com/golang/go
synced 2024-11-21 21:34:40 -07:00
gc: fix comment in mkbuiltin
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5669046
This commit is contained in:
parent
2a6e6999a4
commit
87a04c0bcf
@ -3,7 +3,7 @@
|
|||||||
# Use of this source code is governed by a BSD-style
|
# Use of this source code is governed by a BSD-style
|
||||||
# license that can be found in the LICENSE file.
|
# license that can be found in the LICENSE file.
|
||||||
|
|
||||||
# Generate builtin.c and builtin.c.boot from $* (runtime.go and unsafe.go).
|
# Generate builtin.c from $* (runtime.go and unsafe.go).
|
||||||
# Run this after changing runtime.go and unsafe.go
|
# Run this after changing runtime.go and unsafe.go
|
||||||
# or after changing the export metadata format in the compiler.
|
# or after changing the export metadata format in the compiler.
|
||||||
# Either way, you need to have a working compiler binary first.
|
# Either way, you need to have a working compiler binary first.
|
||||||
@ -25,7 +25,7 @@ do
|
|||||||
O=$GOCHAR ./mkbuiltin1 $i >>_builtin.c
|
O=$GOCHAR ./mkbuiltin1 $i >>_builtin.c
|
||||||
done
|
done
|
||||||
|
|
||||||
# If _builtin.c has changed vs builtin.c.boot,
|
# If _builtin.c has changed vs builtin.c,
|
||||||
# check in the new change.
|
# check in the new change.
|
||||||
cmp -s _builtin.c builtin.c || cp _builtin.c builtin.c
|
cmp -s _builtin.c builtin.c || cp _builtin.c builtin.c
|
||||||
rm _builtin.c mkbuiltin1 unsafe.$GOCHAR runtime.$GOCHAR
|
rm _builtin.c mkbuiltin1 unsafe.$GOCHAR runtime.$GOCHAR
|
||||||
|
Loading…
Reference in New Issue
Block a user