👓 What did you see?
After migration from Go 1.17 to 1.18, when using the godog command, I systematically got "failed to compile testmain package: exit status 1 - output: compile: /tmp/go-build1485890205/b001/importcfg.link:439: unknown directive "modinfo"
✅ What did you expect to see?
godog to run available tests
📦 Which version are you using?
The problem appeared after upgrading from Go 1.17 to 1.18.
I was using godog v0.12.0, but the problem is still the same on v0.12.4.
I have cloned the godog repo, and the issue also appear when running godog tests.
🔬 How could we reproduce it?
Steps to reproduce the behavior:
- Install Go 1.18
- cd to a directory where your godog tests were correctly passing OK
- run godog command
- an error like "failed to compile testmain package: exit status 1 - output: compile: /tmp/go-build1485890205/b001/importcfg.link:439: unknown directive "modinfo" shall be displayed:
🤔 Anything else?
👓 What did you see?
After migration from Go 1.17 to 1.18, when using the godog command, I systematically got "failed to compile testmain package: exit status 1 - output: compile: /tmp/go-build1485890205/b001/importcfg.link:439: unknown directive "modinfo"
✅ What did you expect to see?
godog to run available tests
📦 Which version are you using?
The problem appeared after upgrading from Go 1.17 to 1.18.
I was using godog v0.12.0, but the problem is still the same on v0.12.4.
I have cloned the godog repo, and the issue also appear when running godog tests.
🔬 How could we reproduce it?
Steps to reproduce the behavior:
🤔 Anything else?