{"action":"closed","issue":{"url":"https://api.github.com/repos/bazelbuild/bazel/issues/831","repository_url":"https://api.github.com/repos/bazelbuild/bazel","labels_url":"https://api.github.com/repos/bazelbuild/bazel/issues/831/labels{/name}","comments_url":"https://api.github.com/repos/bazelbuild/bazel/issues/831/comments","events_url":"https://api.github.com/repos/bazelbuild/bazel/issues/831/events","html_url":"https://github.com/bazelbuild/bazel/issues/831","id":130151969,"number":831,"title":"Go rules: support cgo","user":{"login":"jirkadanek","id":442720,"avatar_url":"https://avatars.githubusercontent.com/u/442720?v=3","gravatar_id":"","url":"https://api.github.com/users/jirkadanek","html_url":"https://github.com/jirkadanek","followers_url":"https://api.github.com/users/jirkadanek/followers","following_url":"https://api.github.com/users/jirkadanek/following{/other_user}","gists_url":"https://api.github.com/users/jirkadanek/gists{/gist_id}","starred_url":"https://api.github.com/users/jirkadanek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirkadanek/subscriptions","organizations_url":"https://api.github.com/users/jirkadanek/orgs","repos_url":"https://api.github.com/users/jirkadanek/repos","events_url":"https://api.github.com/users/jirkadanek/events{/privacy}","received_events_url":"https://api.github.com/users/jirkadanek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bazelbuild/bazel/labels/category:%20skylark%20build%20defs","name":"category: skylark build defs","color":"d4c5f9"},{"url":"https://api.github.com/repos/bazelbuild/bazel/labels/P3","name":"P3","color":"fbca04"},{"url":"https://api.github.com/repos/bazelbuild/bazel/labels/type:%20feature%20request","name":"type: feature request","color":"0052cc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-31T16:58:46Z","updated_at":"2016-04-26T09:19:06Z","closed_at":"2016-04-26T09:19:06Z","body":"My Go package has Go files and C files. Nowadays I compile the C files with a Makefile to get a static library (.a on Linux) and then link it in Go with `// #cgo LDFLAGS: ${SRCDIR}/path/to/lib.a`\r\n\r\nI'd like to be able to move all of my build to Bazel, but since cgo is not supported at all, I cannot."}}