mirror of
https://github.com/golang/go
synced 2024-11-12 07:40:23 -07:00
7861cd6082
go/build is changed to list the .m files in a package, and match them for build constraints, adding them to a new field: Package.MFiles. The go tool is changed to support building .m files and linking in the results during CGO and SWIG builds. This means packages that create a C interface to calls Objective-C code from go are now go-gettable without producing and distributing .syso files. This change is analogous to the one in Go 1.2 made to support C++ built code. This change doesn't support .mm files (Objective C++). Also added support for these MFiles to go list's -json mode. Fixes #6536. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/60590044
9 lines
489 B
Plaintext
9 lines
489 B
Plaintext
cmd/gofmt: remove -tabwidth and -tabs flags (CL 52170043)
|
|
liblink: pull linker i/o into separate liblink C library (CL 35790044)
|
|
misc/dist: renamed misc/makerelease (CL 39920043)
|
|
runtime: output how long goroutines are blocked (CL 50420043)
|
|
syscall: add NewCallbackCDecl to use for windows callbacks (CL 36180044)
|
|
testing: diagnose buggy tests that panic(nil) (CL 55780043)
|
|
misc/benchcmp has been replaced by go tool benchcmp (CL 47980043)
|
|
cmd/go, go/build: support .m files (CL 60590044)
|