Skip to content

Commit c51a090

Browse files
authored
add cgo build constraint to zaes.go (#209)
1 parent 1a537f4 commit c51a090

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: cmd/genaesmodes/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ func main() {
3939
if gopackage := os.Getenv("GOPACKAGE"); gopackage != "" {
4040
pkg = gopackage
4141
}
42-
fmt.Fprint(&b, "//go:build !cmd_go_bootstrap\n\n")
42+
fmt.Fprint(&b, "//go:build cgo && !cmd_go_bootstrap\n\n")
4343
fmt.Fprintf(&b, "package %s\n\n", pkg)
4444
fmt.Fprint(&b, `import "crypto/cipher"`+"\n\n")
4545

Diff for: zaes.go

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)