polymerdao/monomer

Add wrapper script for go test based on go version

Closed this issue · 0 comments

I'm currently on go version go1.23.1 linux/amd64 and I get the following error when trying to run make test or make e2e: link: github.com/fjl/memsize: invalid reference to runtime.stopTheWorld

However, running the tests directly with go test and the -ldflags=-checklinkname=0 flag allows the tests to be run correctly.

We need to investigate creating a wrapper script for the go command that does the same check as in the monogen.sh script.

see https://discord.com/channels/1269403754588016816/1286002862626701353/1286030421280165991 for more details