Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/vet: add hook for file level checker short-circuits #8338
Some vet checks could be short-circuited at the file level. For example, the unsafe pointer checker could avoid running if unsafe has not been imported. Something similar holds for the atomic check, the cyclic finalizer test, and the template check (if it goes in). The asm check could probably be run only on .s files.