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

runtime/cgo: move TMPDIR magic out of os

It's not clear this really belongs anywhere at all,
but this is a better place for it than package os.
This way package os can avoid importing "C".

Fixes #10455.

Change-Id: Ibe321a93bf26f478951c3a067d75e22f3d967eb7
Reviewed-on: https://go-review.googlesource.com/12574
Reviewed-by: David Crawshaw <crawshaw@golang.org>
Reviewed-by: Dave Cheney <dave@cheney.net>
This commit is contained in:
Russ Cox 2015-07-23 12:19:09 -04:00
parent eb2d946d35
commit f6fb549d22

View File

@ -4,7 +4,7 @@
// +build arm arm64 // +build arm arm64
package os package cgo
/* /*
#cgo CFLAGS: -x objective-c #cgo CFLAGS: -x objective-c