Commit f6fb549d authored by Russ Cox's avatar Russ Cox

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/12574Reviewed-by: 's avatarDavid Crawshaw <crawshaw@golang.org>
Reviewed-by: 's avatarDave Cheney <dave@cheney.net>
parent eb2d946d
......@@ -4,7 +4,7 @@
// +build arm arm64
package os
package cgo
/*
#cgo CFLAGS: -x objective-c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment