1
0
mirror of https://github.com/golang/go synced 2024-11-23 16:40:03 -07:00

runtime: fix TODO comment filepath

The cmd/compile/internal/ld/go.go file not exist, actually cmd/link/internal/ld/go.go.
Also, write line number is not good because it changes every commit of the file.

Change-Id: Id2b9f2c9904390adb011dab357716ee8e2fe84fc
Reviewed-on: https://go-review.googlesource.com/135516
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
Koichi Shiraishi 2018-09-15 17:06:08 +09:00 committed by Ian Lance Taylor
parent 1bf5796cae
commit 0670b28bf0

View File

@ -370,5 +370,5 @@ func closeonexec(fd int32) {
//go:cgo_import_dynamic libc_pthread_cond_signal pthread_cond_signal "/usr/lib/libSystem.B.dylib"
// Magic incantation to get libSystem actually dynamically linked.
// TODO: Why does the code require this? See cmd/compile/internal/ld/go.go:210
// TODO: Why does the code require this? See cmd/link/internal/ld/go.go
//go:cgo_import_dynamic _ _ "/usr/lib/libSystem.B.dylib"