ppparihar / GoTestExplorer

A Go Test Explorer for VS code (https://marketplace.visualstudio.com/items?itemName=premparihar.gotestexplorer)
46 stars 8 forks source link

i386:x86-64 output collect2.exe: error: ld returned 1 exit status #22

Open talenboy opened 4 years ago

talenboy commented 4 years ago

Click GoTestExplorer Run command,and then show C:\Go\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 1 C:/TDM-GCC-64/bin/../lib/gcc/x86_64-w64-mingw32/5.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: i386 architecture of input file `C:\Users\Alvin\AppData\Local\Temp\go-link-003842799\000000.o' is incompatible with i386:x86-64 output collect2.exe: error: ld returned 1 exit status

But run go build command in cmd that's all correctly.