diff options
| author | Jeff Carr <[email protected]> | 2025-01-11 01:30:08 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-11 01:30:08 -0600 |
| commit | 3f2909aa0d95acc5b00642d082013afd40108a30 (patch) | |
| tree | 3523b16a412fc949b5bcf8d601ce495058368afb /Makefile | |
| parent | 51a326c5d75ac1635de92bf2636f5050326b459e (diff) | |
trying to get Mutex back to a working state
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,8 +1,6 @@ VERSION = $(shell git describe --tags) BUILDTIME = $(shell date +%Y.%m.%d_%H%M) -hmm: test - simple: build # make -C example clean simpleMutexGlobal goimports vet make -C example clean simpleMutexProtoc goimports vet @@ -42,8 +40,10 @@ auto: # rm -f auto.sort.pb.go auto.newsort.pb.go # auto.marshal.pb.go test: - make -C example modproto make -C example rawproto + # The Go Protocol Buffers library embeds a sync.Mutex within the MessageState struct to prevent unintended shallow copies of message structs + # It only fails in Marshal() functions though. That is dumb. + make -C example modproto # THIS DOES NOT WORK. It could work however. This autogenerated code could be used to debug it. junk: cd example; rm -f go.* *.pb.go |
