commit | 3af8368ee4fe30ab2f7add7520d0c487796a163c | [log] [tgz] |
---|---|---|
author | Hana (Hyang-Ah) Kim <hyangah@gmail.com> | Wed Nov 09 15:42:36 2022 -0500 |
committer | Hyang-Ah Hana Kim <hyangah@gmail.com> | Wed Nov 09 20:57:19 2022 +0000 |
tree | 13b0457c07954ec5056ddf3226ebf4ca6289a6ff | |
parent | fc17c872437ceca87a5ddb8f5d4a15e04da21f21 [diff] |
x/vuln/internal: add old build constraint syntax When a project transitively depends on x/vuln/internal, go1.16 is confused and fails with errors like "//go:build comment without // +build comment" Even when conditionally import x/vuln/internal only for go1.18+, this error is unavoidable. Let's wait a bit longer and help users who are stuck with old go. Updates golang/go#51436 Change-Id: I22fce4c037bef3621800a7cca31d31938025078a Reviewed-on: https://go-review.googlesource.com/c/vuln/+/449175 TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com> Run-TryBot: Hyang-Ah Hana Kim <hyangah@gmail.com>
This repository contains packages for accessing and analyzing data from the Go Vulnerability Database. It contains the following:
Check out https://go.dev/security/vuln for more information about the Go vulnerability management system.
The privacy policy for govulncheck
can be found at https://vuln.go.dev/privacy.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Database entries available at https://vuln.go.dev are distributed under the terms of the CC-BY 4.0 license.