summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-11 01:30:08 -0600
committerJeff Carr <[email protected]>2025-01-11 01:30:08 -0600
commit3f2909aa0d95acc5b00642d082013afd40108a30 (patch)
tree3523b16a412fc949b5bcf8d601ce495058368afb /Makefile
parent51a326c5d75ac1635de92bf2636f5050326b459e (diff)
trying to get Mutex back to a working state
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 23d7038..068d8a1 100644
--- a/Makefile
+++ b/Makefile
@@ -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