]> Cypherpunks repositories - gostls13.git/commit
runtime/cgo: set the initial working directory
authorDavid Crawshaw <crawshaw@golang.org>
Wed, 25 Feb 2015 21:11:53 +0000 (16:11 -0500)
committerDavid Crawshaw <crawshaw@golang.org>
Wed, 25 Feb 2015 22:22:02 +0000 (22:22 +0000)
commitb54d31320566ffc617b6c22f0ece7331b2d29c3c
tree2e8e6ebe1d770704d9dd7f46db1f030e43bd4425
parentc1216c3a335894c86d9eb2fe3005b171619e2bc3
runtime/cgo: set the initial working directory

Gives tests a way to find the bundle that contains their testdata, and
is generally useful for finding resources.

Change-Id: Idfa03e8543af927c17bc8ec8aadc5014ec82df28
Reviewed-on: https://go-review.googlesource.com/6000
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
src/runtime/cgo/cgo.go
src/runtime/cgo/gcc_darwin_arm.c