-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Open
Labels
NeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.OS-Darwincompiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.mobileAndroid, iOS, and x/mobileAndroid, iOS, and x/mobile
Milestone
Description
In CL 8784, runtime/cgo
on ios
was given special-case code to change the current working directory to the app root.
That high-level behavior seems awfully presumptuous and out-of-place in a low-level package like runtime/cgo
, and it causes runtime/cgo
to depend on the CoreFoundation
framework on ios
when it does not need that framework on other darwin
platforms.
If the init_working_dir
behavior belongs in the standard library at all, arguably an init
function in the os
package would be much more appropriate than an ad-hoc side effect in runtime/cgo
.
(attn @golang/ios; CC @golang/runtime)
dmitshur and betamos
Metadata
Metadata
Assignees
Labels
NeedsFixThe path to resolution is known, but the work has not been done.The path to resolution is known, but the work has not been done.OS-Darwincompiler/runtimeIssues related to the Go compiler and/or runtime.Issues related to the Go compiler and/or runtime.mobileAndroid, iOS, and x/mobileAndroid, iOS, and x/mobile
Type
Projects
Status
Todo