1
0
mirror of https://github.com/golang/go synced 2024-11-24 02:10:11 -07:00
go/misc/cgo/testcarchive
Ian Lance Taylor be012e1e2e cmd/cgo: don't use absolute paths in the export header file
We were using absolute paths in the #line directives in the export
header file. This makes the header file change if you move GOPATH.
The absolute paths aren't helpful for the final user, which is some C
program elsewhere.

Fixes #24945

Change-Id: I2da32c9b477df578bd5087435a03fe97abe462e3
Reviewed-on: https://go-review.googlesource.com/108315
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2018-04-25 00:36:09 +00:00
..
src
carchive_test.go cmd/cgo: don't use absolute paths in the export header file 2018-04-25 00:36:09 +00:00
main2.c
main3.c
main4.c
main5.c all: enable c-shared/c-archive support for freebsd/amd64 2018-03-21 21:56:20 +00:00
main6.c
main_unix.c
main_windows.c
main.c