/go/pkg/mod/github.com/hillu/go-yara/v4@v4.3.0/rules_callback.go:165:12: could not determine kind of name for C.find_rule cgo: x86_64-w64-mingw32-gcc errors for preamble: /go/pkg/mod/github.com/hillu/go-yara/v4@v4.3.0/rules_callback.go:14:40: error: unknown type name 'uint'; did you mean 'u_int'? 14 | static YR_RULE* find_rule(YR_RULES* r, uint rule_idx) { | ^~~~ | u_int
I assume switching uint to the standard C unsigned int would fix the problem.
/go/pkg/mod/github.com/hillu/go-yara/v4@v4.3.0/rules_callback.go:165:12: could not determine kind of name for C.find_rule cgo: x86_64-w64-mingw32-gcc errors for preamble: /go/pkg/mod/github.com/hillu/go-yara/v4@v4.3.0/rules_callback.go:14:40: error: unknown type name 'uint'; did you mean 'u_int'? 14 | static YR_RULE* find_rule(YR_RULES* r, uint rule_idx) { | ^~~~ | u_int
I assume switching uint to the standard C unsigned int would fix the problem.