Skip to content

Commit 0670b28

Browse files
zcheeianlancetaylor
authored andcommitted
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 <[email protected]>
1 parent 1bf5796 commit 0670b28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/runtime/sys_darwin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,5 +370,5 @@ func closeonexec(fd int32) {
370370
//go:cgo_import_dynamic libc_pthread_cond_signal pthread_cond_signal "/usr/lib/libSystem.B.dylib"
371371

372372
// Magic incantation to get libSystem actually dynamically linked.
373-
// TODO: Why does the code require this? See cmd/compile/internal/ld/go.go:210
373+
// TODO: Why does the code require this? See cmd/link/internal/ld/go.go
374374
//go:cgo_import_dynamic _ _ "/usr/lib/libSystem.B.dylib"

0 commit comments

Comments
 (0)