8000 Is it possible to ignore some dependencies from checking? · dominikh go-tools · Discussion #1241 · GitHub
[go: up one dir, main page]

Skip to content
Discussion options

You must be logged in to vote

Staticcheck doesn't check your dependencies, however it does require them to compile correctly. There is no way around that. That package uses cgo, so you can't trivially cross-compile it just by setting a different GOOS. You will have the same issue trying to go build your project.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@jskiba

@dominikh
Comment options

@linnjason678
Comment options

but if I set CC to mingw then I should be able to build binaries for windows

Why ingnore,?

Answer selected by jskiba
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
0