Cgo: sorry, unimplemented: 64-bit mode not compiled in

后端 未结 3 1682
孤城傲影
孤城傲影 2021-02-20 08:10

I\'m currently trying to add some C code to my Go project. nothing fancy

/*
#include 
void test() {
    printf(\"hooola\")
}
*/

import (
    \"C\         


        
3条回答
  •  闹比i
    闹比i (楼主)
    2021-02-20 08:39

    Good answer, but what confused me is the MinGW-w64 installer choose the Architecture i686 by default instead of x

提交回复
热议问题